if (config.getSourceFiles().isEmpty()) {
stderr.append("gxpc: no input files\n");
return 1;
}
AlertSink alertSink = new PrintingAlertSink(config.getAlertPolicy(),
config.isVerboseEnabled(),
stderr);
AlertCounter counter = new AlertCounter(alertSink, config.getAlertPolicy());
new Compiler(config).call(counter);
return (counter.getErrorCount() > 0) ? 1 : 0;