site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Hi, The contents of test.h was simply: #include <stdio.h> #define kHELLO 1 Regards, Ruben _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Recently I have run across some unexpected behaviour from the tool cpp installed on my Mac OS X system. On running the command: cpp -x c test.h I got this: powerpc-apple-darwin8-gcc-4.0.1: c: No such file or directory powerpc-apple-darwin8-gcc-4.0.1: c: No such file or directory powerpc-apple-darwin8-gcc-4.0.1: warning: '-x -x' after last input file has no effect powerpc-apple-darwin8-gcc-4.0.1: no input files Doing just: cpp test.h seems to work correctly, but I wanted the -x c option to work for certain reasons. The man page for cpp says this should be a valid option. Is this a bug in cpp on Mac OS X? I don't actually understand the meaning of the error messages I received. This email sent to site_archiver@lists.apple.com
participants (1)
-
Ruben Zilibowitz