[Bug c++/39466] frepo relinking causes error - object in .o but not in .rpo or vice versa
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Aug 17 17:55:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39466
Eric Gallager <egallager at gcc dot gnu.org> 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 <egallager at gcc dot gnu.org> ---
redoing https://gcc.gnu.org/ml/gcc-bugs/2017-08/msg01604.html
Eric Gallager <egallager at gcc dot gnu.org> 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 <egallager at gcc dot gnu.org> ---
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
<built-in>: warning: -frepo must be used with -c
util/impl/xml/XmlImplementationFactory.cpp:33:1: error: declaration of
‘boost::shared_ptr<dogs::util::TXmlImplementation<T> >
dogs::util::XmlImplementationFactory::createImplementation(const T&,
dogs::util::XmlImplementationFactory::EImplType) [with T =
dogs::util::xml::TSimpleTypes<std::basic_string<wchar_t> >]’ 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::TXmlImplementation<T> >
dogs::util::XmlImplementationFactory::createImplementation(const T&,
dogs::util::XmlImplementationFactory::EImplType) throw
(dogs::util::xml::XmlException) [with T =
dogs::util::xml::TSimpleTypes<std::basic_string<wchar_t> >]’
util/impl/xml/XmlImplementationFactory.cpp:49:1: error: declaration of
‘boost::shared_ptr<dogs::util::TXmlImplementation<T> >
dogs::util::XmlImplementationFactory::createImplementation(const T&,
dogs::util::XmlImplementationFactory::EImplType) [with T =
dogs::util::xml::TSimpleTypes<std::basic_string<char> >]’ 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::TXmlImplementation<T> >
dogs::util::XmlImplementationFactory::createImplementation(const T&,
dogs::util::XmlImplementationFactory::EImplType) throw
(dogs::util::xml::XmlException) [with T =
dogs::util::xml::TSimpleTypes<std::basic_string<char> >]’
$
Can you try again?
More information about the Gcc-bugs
mailing list