cpp bug?
cpp bug?
- Subject: cpp bug?
- From: Ruben Zilibowitz <email@hidden>
- Date: Fri, 13 Apr 2007 12:53:09 +1000
Hi,
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
The contents of test.h was simply:
#include <stdio.h>
#define kHELLO 1
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.
Regards,
Ruben
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden