Inconsistent Compilation

GlassEyeSlim white_flag_03@hotmail.com
Tue Feb 21 00:55:00 GMT 2006


With the following include statement and the associated header file in the
same directory as the .c file:

#include "stdio.h"

gcc will compile successfully using the following

$gcc -x none file.c

With the following include statement and the associated header file in
/usr/include

#include <stdio.h"

gcc will not compile the file using any of the following

$gcc -x c file.c
$gcc -x none file.c
$gcc -std=c89 file.c

GES
--
View this message in context: http://www.nabble.com/Inconsistent-Compilation-t1158935.html#a3041947
Sent from the gcc - Help forum at Nabble.com.



More information about the Gcc-help mailing list