public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* [GCC][Windows] header file inclusion on windows
@ 2023-01-28  3:57 Mena Makary
  2023-01-28 14:04 ` David Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Mena Makary @ 2023-01-28  3:57 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 634 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-28 17:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-28  3:57 [GCC][Windows] header file inclusion on windows Mena Makary
2023-01-28 14:04 ` David Brown
2023-01-28 17:38   ` NightStrike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).