On the following system: Package manager version: 0.36.4.1 Distribution version: selfupdate-rsync Thu Apr 17 18:38:07 2014, 10.9, x86_64 Trees: local/main stable/main Xcode.app: 5.1.1 Xcode command-line tools: 5.1.0.0.1.1396320587 Max. Fink build jobs: 1
ddd fails as follows: g++ -DHAVE_CONFIG_H -I. -I./.. -isystem /usr/X11R6/include -I/sw/include -O2 -g -Wall -W -Wwrite-strings -mminimal-toc -trigraphs -c -o ddd.o ddd.C clang: warning: unknown argument: '-mminimal-toc' [-Wunused-command-line-argument-hard-error-in-future] clang: note: this will be a hard error (cannot be downgraded to a warning) in the future clang: warning: argument unused during compilation: '-mminimal-toc' In file included from ddd.C:134: In file included from ./ddd.h:31: ./strclass.h:813:19: error: friend declaration specifying a default argument must be a definition friend string common_prefix(const string& x, const string& y, ^ ./strclass.h:815:19: error: friend declaration specifying a default argument must be a definition friend string common_suffix(const string& x, const string& y, ^ ./strclass.h:866:16: error: friend declaration specifying a default argument must be a definition friend int readline(std::istream& s, string& x, ^ In file included from ddd.C:186: In file included from ./DataDisp.h:53: ./Command.h:172:6: warning: '&&' within '||' [-Wlogical-op-parentheses] && priority == c.priority; ^~~~~~~~~~~~~~~~~~~~~~~~~ ./Command.h:172:6: note: place parentheses around the '&&' expression to silence this warning && priority == c.priority; ^ In file included from ddd.C:189: In file included from ./DispGraph.h:38: In file included from ./Graph.h:32: ./GraphGC.h:55:1: warning: 'GraphGC' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GraphGC { ^ ./GraphEdit.h:36:1: note: did you mean struct here? class GraphGC; ^~~~~ struct In file included from ddd.C:237: ./history.h:85:1: warning: class 'MMDesc' was previously declared as a struct [-Wmismatched-tags] class MMDesc; ^ ./MakeMenu.h:75:8: note: previous use is here struct MMDesc { ^ ./history.h:85:1: note: did you mean struct here? class MMDesc; ^~~~~ struct ddd.C:2986:43: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((!app_data.separate_source_window && have_source_window() || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ~~ ddd.C:2986:43: note: place parentheses around the '&&' expression to silence this warning if ((!app_data.separate_source_window && have_source_window() || ^ ( ) ddd.C:2987:34: warning: '&&' within '||' [-Wlogical-op-parentheses] !app_data.separate_data_window && have_data_window()) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ddd.C:2987:34: note: place parentheses around the '&&' expression to silence this warning !app_data.separate_data_window && have_data_window()) && ^ ( ) ddd.C:3961:24: warning: '&&' within '||' [-Wlogical-op-parentheses] app_data.annotate && running_shells() == 1) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ddd.C:3961:24: note: place parentheses around the '&&' expression to silence this warning app_data.annotate && running_shells() == 1) ^ ( ) ddd.C:4248:29: warning: '&&' within '||' [-Wlogical-op-parentheses] !app_data.button_images && !app_data.button_captions); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ddd.C:4248:29: note: place parentheses around the '&&' expression to silence this warning !app_data.button_images && !app_data.button_captions); ^ ( ) ddd.C:4290:6: warning: '&&' within '||' [-Wlogical-op-parentheses] && app_data.disassemble); ^~~~~~~~~~~~~~~~~~~~~~~ ddd.C:4290:6: note: place parentheses around the '&&' expression to silence this warning && app_data.disassemble); ^ ddd.C:5469:11: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] XtPointer(int(!set))); ^ ./TimeOut.h:55:37: note: expanded from macro 'XtAppAddTimeOut' MyAppAddTimeOut((a), (i), (p), (c), (const char *)__FILE__, __LINE__) ^ ddd.C:5825:44: warning: 'memcpy' call operates on objects of type 'XEvent' (aka '_XEvent') while the size is based on a different type 'XEvent *' (aka '_XEvent *') [-Wsizeof-pointer-memaccess] memcpy(cbs.event, c.event, sizeof(cbs.event)); ~~~~~~~~~ ~~~~^~~~~ ddd.C:5825:44: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memcpy(cbs.event, c.event, sizeof(cbs.event)); ~~~~^~~~~ 10 warnings and 3 errors generated. make[2]: *** [ddd.o] Error 1 make[2]: Leaving directory `/sw/src/fink.build/ddd-3.3.12-3/ddd-3.3.12/ddd' Advice is appreciated. Best regards, Stefan -- If it was so, it might be; and if it were so, it would be; but as it isn't, it ain't. That's logic. --Lewis Carroll, Through the Looking-Glass No HTML emails and proprietary attachments please <http://bruda.ca/ascii> ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users