[build-users] RE: [build2] Compile fixes

Ahmed Charles acharles at outlook.com
Fri May 22 12:35:22 EDT 2015



> Date: Fri, 22 May 2015 15:50:23 +0200
> From: boris at codesynthesis.com
> To: acharles at outlook.com
> CC: build-users at codesynthesis.com
> Subject: Re: [build2] Compile fixes
>
> Can you give it a try and see if it all works for you now?
> 
> Also, let me know if you run into any other issues.

It works with g++-4.9, but doesn't with clang, because it uses libc++. You're relying on std::map<K, V>::const_iterator not needing the type of K or V to be complete when defining the scope class. It seems libstdc++ allows incomplete types, but libc++ doesn't, so the iterator in the scope class makes the class not compile.

Hopefully that made sense. :)
 		 	   		  


More information about the build-users mailing list