This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51827] Error: 'FOO' conflicts with a previous declaration, with PCH/LTO/C++11
- From: "d.g.gorbachev at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 12 Jan 2012 10:53:44 +0000
- Subject: [Bug c++/51827] Error: 'FOO' conflicts with a previous declaration, with PCH/LTO/C++11
- Auto-submitted: auto-generated
- References: <bug-51827-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51827
--- Comment #2 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2012-01-12 10:53:44 UTC ---
I already mentioned "PCH" and ".H" extension, but just to be 100% clear, the
error happens only when compiling the testcase as a c++ header.
Reproduced on i686-pc-linux-gnu and i686-pc-mingw32.