Inconsistent Compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux