Stephan Bergmann wrote:
eric b wrote:
BTW: --with-stlport=no leads to tons of warnings, caused by Apple stl
headers themselves ... :-/
Hm, bad news (though I did not encounter any until now, on my fresh
build from scratch...)
No wonder. I had completely forgotten that I use
---8<---
RCS file: /cvs/tools/solenv/inc/unxmacx.mk,v
diff -r1.22.14.2 -r1.22.14.3
140a141,143
# -Wshadow does not work for C++ as /usr/include/c++/4.0.0/ext/hashtable.h
> # l. 717 contains a declaration of __cur2 shadowing the declaration
at l. 705,
> # in template code for which a #pragma gcc system_header would not work:
143,144c146
< CFLAGSWARNCXX=$(CFLAGSWARNCC) -Wshadow -Wno-ctor-dtor-privacy \
< -Wno-non-virtual-dtor
---
> CFLAGSWARNCXX=$(CFLAGSWARNCC) -Wno-ctor-dtor-privacy
-Wno-non-virtual-dtor
---8<---
to work around those warnings. Not elegant, but effective. :(
-Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]