[Bug preprocessor/113873] false warning about #pragma once

2024-02-11 Thread jadexradex at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113873 --- Comment #4 from Jadex Radex --- (In reply to Sam James from comment #1) > (In reply to Jadex Radex from comment #0) > > If you create an empty file with C/C++ extension and write "#pragma once", > > it will show warning "#pragma once in main

[Bug preprocessor/113873] false warning about #pragma once

2024-02-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113873 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug preprocessor/113873] false warning about #pragma once

2024-02-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113873 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Component|c++