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

building fltk fails as follows:

Compiling Fl_Function_Type.cxx...
g++ -I..     -Os -Wno-deprecated-declarations -Wall -Wunused -Wno-format-y2k  
-fPIC -fno-exceptions -fno-strict-aliasing  -D_THREAD_SAFE -D_REENTRANT 
-I/sw/include/freetype2 -I/sw/include -U__APPLE__ -MD -DHAVE_SCANDIR 
-I/sw/include -I/sw/include/freetype2 -I/sw/include   -I/usr/X11R6/include -c 
Fl_Function_Type.cxx
In file included from Fl_Function_Type.cxx:31:
./Fl_Type.h:47:21: error: friend declaration specifying a default argument must 
be a definition
  friend Fl_Widget *make_type_browser(int,int,int,int,const char *l=0);
                    ^
Fl_Function_Type.cxx:184:27: warning: format string is not a string literal 
(potentially insecure)
      [-Wformat-security]
    if (message) fl_alert(message);
                          ^~~~~~~
Fl_Function_Type.cxx:308:53: warning: '&&' within '||' 
[-Wlogical-op-parentheses]
          while(*++nptr  && (skips || skipc || (*nptr!=',' && *nptr!=')' || 
plevel!=1) )) {
                                                ~~~~~~~~~~~^~~~~~~~~~~~~ ~~
Fl_Function_Type.cxx:308:53: note: place parentheses around the '&&' expression 
to silence this
      warning
          while(*++nptr  && (skips || skipc || (*nptr!=',' && *nptr!=')' || 
plevel!=1) )) {
                                                           ^
                                                (                       )
Fl_Function_Type.cxx:345:53: warning: '&&' within '||' 
[-Wlogical-op-parentheses]
          while(*++nptr  && (skips || skipc || (*nptr!=',' && *nptr!=')' || 
plevel!=1) )) {
                                                ~~~~~~~~~~~^~~~~~~~~~~~~ ~~
Fl_Function_Type.cxx:345:53: note: place parentheses around the '&&' expression 
to silence this
      warning
          while(*++nptr  && (skips || skipc || (*nptr!=',' && *nptr!=')' || 
plevel!=1) )) {
                                                           ^
                                                (                       )
Fl_Function_Type.cxx:415:27: warning: format string is not a string literal 
(potentially insecure)
      [-Wformat-security]
    if (message) fl_alert(message);
                          ^~~~~~~
Fl_Function_Type.cxx:482:27: warning: format string is not a string literal 
(potentially insecure)
      [-Wformat-security]
    if (message) fl_alert(message);
                          ^~~~~~~
Fl_Function_Type.cxx:576:27: warning: format string is not a string literal 
(potentially insecure)
      [-Wformat-security]
    if (message) fl_alert(message);
                          ^~~~~~~
Fl_Function_Type.cxx:616:32: warning: '&&' within '||' 
[-Wlogical-op-parentheses]
         !strncmp(c,"class",5) && isspace(c[5])
         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Fl_Function_Type.cxx:616:32: note: place parentheses around the '&&' expression 
to silence this
      warning
         !strncmp(c,"class",5) && isspace(c[5])
                               ^
         (                                     )
Fl_Function_Type.cxx:617:34: warning: '&&' within '||' 
[-Wlogical-op-parentheses]
      || !strncmp(c,"typedef",7) && isspace(c[7])
      ~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Fl_Function_Type.cxx:617:34: note: place parentheses around the '&&' expression 
to silence this
      warning
      || !strncmp(c,"typedef",7) && isspace(c[7])
                                 ^
         (                                       )
Fl_Function_Type.cxx:618:36: warning: '&&' within '||' 
[-Wlogical-op-parentheses]
      || !strncmp(c,"FL_EXPORT",9) && isspace(c[9])
      ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Fl_Function_Type.cxx:618:36: note: place parentheses around the '&&' expression 
to silence this
      warning
      || !strncmp(c,"FL_EXPORT",9) && isspace(c[9])
                                   ^
         (                                         )
Fl_Function_Type.cxx:619:33: warning: '&&' within '||' 
[-Wlogical-op-parentheses]
      || !strncmp(c,"struct",6) && isspace(c[6])
      ~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Fl_Function_Type.cxx:619:33: note: place parentheses around the '&&' expression 
to silence this
      warning
      || !strncmp(c,"struct",6) && isspace(c[6])
                                ^
         (                                      )
Fl_Function_Type.cxx:626:20: warning: '&&' within '||' 
[-Wlogical-op-parentheses]
  if (!isalpha(*c) && *c != '~'
      ~~~~~~~~~~~~~^~~~~~~~~~~~
Fl_Function_Type.cxx:626:20: note: place parentheses around the '&&' expression 
to silence this
      warning
  if (!isalpha(*c) && *c != '~'
                   ^
      (                        )
Fl_Function_Type.cxx:627:33: warning: '&&' within '||' 
[-Wlogical-op-parentheses]
      || !strncmp(c,"extern",6) && isspace(c[6])
      ~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Fl_Function_Type.cxx:627:33: note: place parentheses around the '&&' expression 
to silence this
      warning
      || !strncmp(c,"extern",6) && isspace(c[6])
                                ^
         (                                      )
Fl_Function_Type.cxx:628:32: warning: '&&' within '||' 
[-Wlogical-op-parentheses]
      || !strncmp(c,"class",5) && isspace(c[5])
      ~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Fl_Function_Type.cxx:628:32: note: place parentheses around the '&&' expression 
to silence this
      warning
      || !strncmp(c,"class",5) && isspace(c[5])
                               ^
         (                                     )
Fl_Function_Type.cxx:629:34: warning: '&&' within '||' 
[-Wlogical-op-parentheses]
      || !strncmp(c,"typedef",7) && isspace(c[7])
      ~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Fl_Function_Type.cxx:629:34: note: place parentheses around the '&&' expression 
to silence this
      warning
      || !strncmp(c,"typedef",7) && isspace(c[7])
                                 ^
         (                                       )
Fl_Function_Type.cxx:630:32: warning: '&&' within '||' 
[-Wlogical-op-parentheses]
      || !strncmp(c,"using",5) && isspace(c[5])
      ~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Fl_Function_Type.cxx:630:32: note: place parentheses around the '&&' expression 
to silence this
      warning
      || !strncmp(c,"using",5) && isspace(c[5])
                               ^
         (                                     )
Fl_Function_Type.cxx:631:36: warning: '&&' within '||' 
[-Wlogical-op-parentheses]
      || !strncmp(c,"FL_EXPORT",9) && isspace(c[9])
      ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Fl_Function_Type.cxx:631:36: note: place parentheses around the '&&' expression 
to silence this
      warning
      || !strncmp(c,"FL_EXPORT",9) && isspace(c[9])
                                   ^
         (                                         )
Fl_Function_Type.cxx:713:27: warning: format string is not a string literal 
(potentially insecure)
      [-Wformat-security]
    if (message) fl_alert(message);
                          ^~~~~~~
Fl_Function_Type.cxx:836:27: warning: format string is not a string literal 
(potentially insecure)
      [-Wformat-security]
    if (message) fl_alert(message);
                          ^~~~~~~
Fl_Function_Type.cxx:1090:27: warning: format string is not a string literal 
(potentially insecure)
      [-Wformat-security]
    if (message) fl_alert(message);
                          ^~~~~~~
19 warnings and 1 error generated.
make[1]: *** [Fl_Function_Type.o] Error 1
make[1]: Leaving directory 
`/sw/src/fink.build/fltk-x11-1.1.10-1/fltk-1.1.10/fluid'

Note that I set MaxBuildJobs to 1 to be on the safe side (but the same
thing happens to a higher value as well).

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

Reply via email to