This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Inconsistent Compilation


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]