I have a problem with the Fink ddd package on 10.9.
Below is the error message.
Clearly g++ provided by clang behaves differently than on 10.8 where it
compiled fine.
1) There is no more option -mminimal-toc
2) It is (justifiably) more fussy about ambiguous overloading.
Is there a remedy?
Remko
---
g++ -DHAVE_CONFIG_H -I. -I./.. -isystem /usr/X11R6/include -I/sw/include -O2
-g -Wall -W -Wwrite-strings -mminimal-toc -trigraphs -c -o VSLErr.o VSLErr.C
clang: warning: argument unused during compilation: '-mminimal-toc'
VSLDefList.C:63:61: error: use of overloaded operator '+' is ambiguous (with
operand types 'string' and 'std::ostringstream'
(aka 'basic_ostringstream<char>'))
VSLLib::eval_error("no suiting definition for " + f_name() + s);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
./strclass.h:1379:15: note: candidate function
inline string operator + (const string& x, const string& y)
^
./strclass.h:1399:15: note: candidate function
inline string operator + (const string& x, char y)
^
1 error generated.
make[2]: *** [VSLDefList.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users