From kde-core-devel Mon Nov 18 09:36:33 2013 From: Milian Wolff Date: Mon, 18 Nov 2013 09:36:33 +0000 To: kde-core-devel Subject: Re: FindKDE4Internal.cmake & clang & c++11 & -fdelayed-template-parsing Message-Id: <1905369.kYFWKdZe0o () milian-kdab2> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=138476741716707 On Monday 18 November 2013 01:45:26 Raphael Kubo da Costa wrote: > Milian Wolff writes: > > There is no alternative, see above. Rather have bigger binaries than not > > being able to compile at all. > > Finally fixed: http://commits.kde.org/kdelibs/daa54a25 Thank you! > > Also, have you reported the errors that clang outputs to the developers? > > If > > it's correct analysis, it should be fixed - even if it's error-prone > > work. > > In this case, I don't think there's a bug: I haven't investigated in > depth, but clang seems to be doing what -fdelayed-template-parsing is > supposed to do, and it's libstdc++ + clang + c++11 that does not work > well (the snippet works if I use libc++ instead). Right, but we cannot depend on libc++. If you can detect it, you could disable exceptions for clang when building with libc++ (if that's the case on the BSDs?). Bye -- Milian Wolff mail@milianw.de http://milianw.de