[GCC][Windows] header file inclusion on windows

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

 



Hello GCC Help Team,

Could you please support on the following C code example:

#include "header.h"   /* Proper file name like on windows file system, No
error is expected */
#include "Header.h"  /* Same file but H letter is camelcased by mistake,
Error is expected */
#include "header.h "  /* Same file but a space is added before end of file
inclusion by mistake, Error is expected */

The problem here is that the above two issues are not detected by GCC
on windows, while could be detected on Linux.
Is there any compiler option/flag enables GCC to detect such issues on
Windows?

Appreciating your support,
Regards,
Mina Makary



[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