[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2024-03-01 Thread kmatsui at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 Ken Matsui changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2024-02-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 Andrew Pinski changed: What|Removed |Added CC||jadexradex at gmail dot com --- Comment

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2023-08-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2023-08-24 Thread diego.santacruz at spinetix dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 Diego SC changed: What|Removed |Added CC||diego.santacruz at spinetix dot co

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2021-06-14 Thread colomar.6.4.3 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 Alejandro Colomar changed: What|Removed |Added CC||colomar.6.4.3 at gmail dot com ---

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2021-03-30 Thread jbassett271 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 Justin Bassett changed: What|Removed |Added CC||jbassett271 at gmail dot com ---

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2019-10-05 Thread martin at log2 dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 martin at log2 dot ch changed: What|Removed |Added CC||martin at log2 dot ch ---

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2019-06-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 --- Comment #9 from Eric Gallager --- (In reply to sduguay from comment #8) > (In reply to Jonathan Wakely from comment #6) > > In any case, I agree with confirming this as a bug: all warnings should be > > controllable by a -Wxxx option. > > >

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2019-03-25 Thread s_gcc_bugzilla at binarez dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 --- Comment #8 from sduguay --- (In reply to Jonathan Wakely from comment #6) > In any case, I agree with confirming this as a bug: all warnings should be > controllable by a -Wxxx option. > > Adding such an option is quite easy, and a good

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2019-03-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2019-03-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 Jonathan Wakely changed: What|Removed |Added Keywords||easyhack --- Comment #6 from Jonathan

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 --- Comment #5 from Richard Biener --- (In reply to sduguay from comment #3) > (In reply to Richard Biener from comment #1) > > Testcase: > > > > #pragma once > > int main() {} > > > > > g++ t.C -S > > t.C:1:9: warning: #pragma once in main

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2019-03-25 Thread s_gcc_bugzilla at binarez dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 --- Comment #4 from sduguay --- (In reply to Jakub Jelinek from comment #2) > You haven't explained why do you need to use #pragma once in the main cpp > source file, are you sometimes including it as a header and other times > compiling it as

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2019-03-25 Thread s_gcc_bugzilla at binarez dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 --- Comment #3 from sduguay --- (In reply to Richard Biener from comment #1) > Testcase: > > #pragma once > int main() {} > > > g++ t.C -S > t.C:1:9: warning: #pragma once in main file > #pragma once > ^~~~ > > > you could work

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2019-03-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 Richard Biener changed: What|Removed |Added Keywords||diagnostic