[gentoo-dev] Re: How to support C++11 in libraries?

2013-12-20 Thread Ryan Hill
On Thu, 19 Dec 2013 10:18:55 +0100 Michał Górny wrote: > And that brings another issue in Gentoo -- gcc-config. AFAIR this tool > is completely insane and switches libstdc++ along with gcc version. > As a result, after switching to a gcc version with different C++ ABI, > installed software gets b

Re: [gentoo-dev] Commit into profiles fails

2013-12-20 Thread Robin H. Johnson
On Fri, Dec 20, 2013 at 08:19:08PM +0200, Alon Bar-Lev wrote: > Long time since I done this... maybe something had been changed. FYI this is fixed. The CVS server had an unexpected reboot, and one of the sysctls for grsec was missing, so it was being too secure. -- Robin Hugh Johnson Gentoo Linux

Re: [gentoo-dev] Commit into profiles fails

2013-12-20 Thread Markos Chandras
On 12/20/2013 07:50 PM, Johannes Huber wrote: > Am Freitag, 20. Dezember 2013, 20:19:08 schrieb Alon Bar-Lev: >> Hi, >> >> Long time since I done this... maybe something had been changed. >> >> $ cvs commit -m "thirdpartymirrors: fixup gnupg mirros, bug#494842, thanks >> to Ben Kohler" >> cvs commi

Re: [gentoo-dev] Commit into profiles fails

2013-12-20 Thread Ian Stakenvicius
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 20/12/13 02:50 PM, Johannes Huber wrote: > Am Freitag, 20. Dezember 2013, 20:19:08 schrieb Alon Bar-Lev: >> Hi, >> >> Long time since I done this... maybe something had been changed. >> >> $ cvs commit -m "thirdpartymirrors: fixup gnupg mirros,

Re: [gentoo-dev] Commit into profiles fails

2013-12-20 Thread Johannes Huber
Am Freitag, 20. Dezember 2013, 20:19:08 schrieb Alon Bar-Lev: > Hi, > > Long time since I done this... maybe something had been changed. > > $ cvs commit -m "thirdpartymirrors: fixup gnupg mirros, bug#494842, thanks > to Ben Kohler" > cvs commit: cannot exec /var/cvsroot/CVSROOT/cvslogdate: Permi

[gentoo-dev] Commit into profiles fails

2013-12-20 Thread Alon Bar-Lev
Hi, Long time since I done this... maybe something had been changed. $ cvs commit -m "thirdpartymirrors: fixup gnupg mirros, bug#494842, thanks to Ben Kohler" cvs commit: cannot exec /var/cvsroot/CVSROOT/cvslogdate: Permission denied cvs commit: cannot exec /var/cvsroot/CVSROOT/checkgroup.pl: Per

[gentoo-dev] Re: How to support C++11 in libraries?

2013-12-20 Thread Martin Vaeth
Jan Kundrát wrote: >> And no, the languages are _not_ "source-incompatible". That would be a >> scandal! > > You might argue about this, but that doesn't change these facts. I think nobody had doubts that *theoretical* such examples can be constructed (I even mentioned the case of name collissio

[gentoo-dev] Re: How to support C++11 in libraries?

2013-12-20 Thread Martin Vaeth
Jan Kundrát wrote: > On Friday, 20 December 2013 10:00:43 CEST, Martin Vaeth wrote: >> The example with string reference-counters which you gave is IMHO >> typical; > > You have not considered the implications of the updated requirements It seems you are changing the topic: We were talking about

Re: [gentoo-dev] How to support C++11 in libraries?

2013-12-20 Thread Ian Stakenvicius
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 20/12/13 06:56 AM, Sven Eden wrote: > > So basically C++11 <-> C++03 is no problem at all (unless you > *export* certain symbols [2]), but combining C++11 from different > gcc versions is nowhere guaranteed to work. > > Cheers > > Sven > > >

Re: [gentoo-dev] How to support C++11 in libraries?

2013-12-20 Thread Georg Rudoy
2013/12/20 Jan Kundrát : > On Friday, 20 December 2013 12:56:43 CEST, Sven Eden wrote: >> >> And no, the languages are _not_ "source-incompatible". That would be a >> scandal! > > > You might argue about this, but that doesn't change these facts. This is > absolutely valid C++98 program: > > jkt@sv

Re: [gentoo-dev] How to support C++11 in libraries?

2013-12-20 Thread Jan Kundrát
On Friday, 20 December 2013 12:56:43 CEST, Sven Eden wrote: And no, the languages are _not_ "source-incompatible". That would be a scandal! You might argue about this, but that doesn't change these facts. This is absolutely valid C++98 program: jkt@svist ~ $ cat foo.cpp int main() { aut

Re: [gentoo-dev] How to support C++11 in libraries?

2013-12-20 Thread Jan Kundrát
On Friday, 20 December 2013 10:00:43 CEST, Martin Vaeth wrote: The example with string reference-counters which you gave is IMHO typical; one would really need to write strange code to make it work *with* reference counters but break without. Hard to believe that this happens in practice. Wh

Re: [gentoo-dev] How to support C++11 in libraries?

2013-12-20 Thread Sven Eden
Am Donnerstag, 19. Dezember 2013, 16:23:08 schrieb Jan Kundrát: > On Thursday, 19 December 2013 16:00:13 CEST, Ian Stakenvicius wrote: > > A change in profiles? 14.0/* adds that to the default CXXFLAGS in > > base, new stage3's etc are all rolled with this. We recommend > > migration to 14.0 prof

[gentoo-dev] Re: How to support C++11 in libraries?

2013-12-20 Thread Martin Vaeth
Jan Kundrát wrote: > > Before you invest any more time in this, please understand that C++98 and > C++11 are source-incompatible. The question is what impact this theoretical incompatibility in a few corner cases has in practice. > There is no way to expect that a package builds fine when you >