[Bug c++/39466] frepo relinking causes error - object in .o but not in .rpo or vice versa
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39466 Eric Gallager changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|--- |WORKSFORME --- Comment #3 from Eric Gallager --- (In reply to Eric Gallager from comment #2) > redoing https://gcc.gnu.org/ml/gcc-bugs/2017-08/msg01604.html > > Eric Gallager changed: > >What|Removed |Added > > Status|UNCONFIRMED |WAITING >Last reconfirmed||2017-08-14 > CC||egallager at gcc dot gnu.org > Ever confirmed|0 |1 >Severity|major |normal > > --- Comment #2 from Eric Gallager --- > I can't reproduce with current gcc on i386-apple-darwin9.8.0, compilation > fails > instead with: > > $ /usr/local/bin/g++ -frepo -DCOMPILING_WITH_FREPO=1 -pipe -frepo > -DCOMPILING_WITH_FREPO=1 -D_REENTRANT -Wctor-dtor-privacy -Wall -DNDEBUG > -fstack-protector-all -O2 -ftree-loop-linear -fweb -march=core2 -mssse3 > -fdiagnostics-show-option -fomit-frame-pointer -fPIC -rdynamic -std=gnu++98 > -o > XmlImplementationFactory.exe XmlImplementationFactory.ii 2>&1 > : warning: -frepo must be used with -c > util/impl/xml/XmlImplementationFactory.cpp:33:1: error: declaration of > ‘boost::shared_ptr > > dogs::util::XmlImplementationFactory::createImplementation(const T&, > dogs::util::XmlImplementationFactory::EImplType) [with T = > dogs::util::xml::TSimpleTypes >]’ has a different > exception specifier > In file included from util/impl/xml/XmlImplementationFactory.cpp:3:0: > util/impl/../include/XmlImplementationFactory.h:26:11: note: from previous > declaration ‘boost::shared_ptr > > dogs::util::XmlImplementationFactory::createImplementation(const T&, > dogs::util::XmlImplementationFactory::EImplType) throw > (dogs::util::xml::XmlException) [with T = > dogs::util::xml::TSimpleTypes >]’ > util/impl/xml/XmlImplementationFactory.cpp:49:1: error: declaration of > ‘boost::shared_ptr > > dogs::util::XmlImplementationFactory::createImplementation(const T&, > dogs::util::XmlImplementationFactory::EImplType) [with T = > dogs::util::xml::TSimpleTypes >]’ has a different > exception specifier > In file included from util/impl/xml/XmlImplementationFactory.cpp:3:0: > util/impl/../include/XmlImplementationFactory.h:26:11: note: from previous > declaration ‘boost::shared_ptr > > dogs::util::XmlImplementationFactory::createImplementation(const T&, > dogs::util::XmlImplementationFactory::EImplType) throw > (dogs::util::xml::XmlException) [with T = > dogs::util::xml::TSimpleTypes >]’ > $ > > Can you try again? No response; closing.
[Bug c++/39466] frepo relinking causes error - object in .o but not in .rpo or vice versa
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39466 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed||2017-08-17 CC||egallager at gcc dot gnu.org Ever confirmed|0 |1 Severity|major |normal --- Comment #2 from Eric Gallager --- redoing https://gcc.gnu.org/ml/gcc-bugs/2017-08/msg01604.html Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed||2017-08-14 CC||egallager at gcc dot gnu.org Ever confirmed|0 |1 Severity|major |normal --- Comment #2 from Eric Gallager --- I can't reproduce with current gcc on i386-apple-darwin9.8.0, compilation fails instead with: $ /usr/local/bin/g++ -frepo -DCOMPILING_WITH_FREPO=1 -pipe -frepo -DCOMPILING_WITH_FREPO=1 -D_REENTRANT -Wctor-dtor-privacy -Wall -DNDEBUG -fstack-protector-all -O2 -ftree-loop-linear -fweb -march=core2 -mssse3 -fdiagnostics-show-option -fomit-frame-pointer -fPIC -rdynamic -std=gnu++98 -o XmlImplementationFactory.exe XmlImplementationFactory.ii 2>&1 : warning: -frepo must be used with -c util/impl/xml/XmlImplementationFactory.cpp:33:1: error: declaration of ‘boost::shared_ptr > dogs::util::XmlImplementationFactory::createImplementation(const T&, dogs::util::XmlImplementationFactory::EImplType) [with T = dogs::util::xml::TSimpleTypes >]’ has a different exception specifier In file included from util/impl/xml/XmlImplementationFactory.cpp:3:0: util/impl/../include/XmlImplementationFactory.h:26:11: note: from previous declaration ‘boost::shared_ptr > dogs::util::XmlImplementationFactory::createImplementation(const T&, dogs::util::XmlImplementationFactory::EImplType) throw (dogs::util::xml::XmlException) [with T = dogs::util::xml::TSimpleTypes >]’ util/impl/xml/XmlImplementationFactory.cpp:49:1: error: declaration of ‘boost::shared_ptr > dogs::util::XmlImplementationFactory::createImplementation(const T&, dogs::util::XmlImplementationFactory::EImplType) [with T = dogs::util::xml::TSimpleTypes >]’ has a different exception specifier In file included from util/impl/xml/XmlImplementationFactory.cpp:3:0: util/impl/../include/XmlImplementationFactory.h:26:11: note: from previous declaration ‘boost::shared_ptr > dogs::util::XmlImplementationFactory::createImplementation(const T&, dogs::util::XmlImplementationFactory::EImplType) throw (dogs::util::xml::XmlException) [with T = dogs::util::xml::TSimpleTypes >]’ $ Can you try again?
[Bug c++/39466] frepo relinking causes error - object in .o but not in .rpo or vice versa
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39466 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed||2017-08-14 CC||egallager at gcc dot gnu.org Ever confirmed|0 |1 Severity|major |normal --- Comment #2 from Eric Gallager --- I can't reproduce with current gcc on i386-apple-darwin9.8.0, compilation fails instead with: $ /usr/local/bin/g++ -frepo -DCOMPILING_WITH_FREPO=1 -pipe -frepo -DCOMPILING_WITH_FREPO=1 -D_REENTRANT -Wctor-dtor-privacy -Wall -DNDEBUG -fstack-protector-all -O2 -ftree-loop-linear -fweb -march=core2 -mssse3 -fdiagnostics-show-option -fomit-frame-pointer -fPIC -rdynamic -std=gnu++98 -o XmlImplementationFactory.exe XmlImplementationFactory.ii 2>&1 : warning: -frepo must be used with -c util/impl/xml/XmlImplementationFactory.cpp:33:1: error: declaration of ‘boost::shared_ptr > dogs::util::XmlImplementationFactory::createImplementation(const T&, dogs::util::XmlImplementationFactory::EImplType) [with T = dogs::util::xml::TSimpleTypes >]’ has a different exception specifier In file included from util/impl/xml/XmlImplementationFactory.cpp:3:0: util/impl/../include/XmlImplementationFactory.h:26:11: note: from previous declaration ‘boost::shared_ptr > dogs::util::XmlImplementationFactory::createImplementation(const T&, dogs::util::XmlImplementationFactory::EImplType) throw (dogs::util::xml::XmlException) [with T = dogs::util::xml::TSimpleTypes >]’ util/impl/xml/XmlImplementationFactory.cpp:49:1: error: declaration of ‘boost::shared_ptr > dogs::util::XmlImplementationFactory::createImplementation(const T&, dogs::util::XmlImplementationFactory::EImplType) [with T = dogs::util::xml::TSimpleTypes >]’ has a different exception specifier In file included from util/impl/xml/XmlImplementationFactory.cpp:3:0: util/impl/../include/XmlImplementationFactory.h:26:11: note: from previous declaration ‘boost::shared_ptr > dogs::util::XmlImplementationFactory::createImplementation(const T&, dogs::util::XmlImplementationFactory::EImplType) throw (dogs::util::xml::XmlException) [with T = dogs::util::xml::TSimpleTypes >]’ $ Can you try again?
[Bug c++/39466] frepo relinking causes error - object in .o but not in .rpo or vice versa
--- Comment #1 from spojenie at o2 dot pl 2009-03-15 21:04 --- Created an attachment (id=17466) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17466&action=view) The .ii file generated from hairy templates that seem to cause the problem -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39466