bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #34787] compilation of gsweb with clang and libobjc2 broken


From: Sebastian Reitenbach
Subject: [bug #34787] compilation of gsweb with clang and libobjc2 broken
Date: Wed, 09 Nov 2011 18:20:27 +0000
User-agent: Mozilla/5.0 (X11; OpenBSD i386; rv:5.0) Gecko/20100101 Firefox/5.0

URL:
  <http://savannah.gnu.org/bugs/?34787>

                 Summary: compilation of gsweb with clang and libobjc2 broken
                 Project: GNUstep
            Submitted by: buzzdee
            Submitted on: Wed 09 Nov 2011 06:20:25 PM GMT
                Category: gsweb
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

compiling gsweb from svn with clang and libobjc2 fails with the following
error:

clang GSWApplication+Defaults.m -c \
      -MMD -MP -I/usr/local/include -DGSWEB_WONAMES -DGNUSTEP
-DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1
-DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions
-D_NATIVE_OBJC_EXCEPTIONS -fPIC -DDEBUG -fno-omit-frame-pointer -Wall -DGSWARN
-DGSDIAGNOSE -Wno-import -O2 -pipe -g -O0 -fgnu-runtime
-Werror-implicit-function-declaration -fconstant-string-class=NSConstantString
-fexec-charset=UTF-8 -I./. -I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/local/include/libpng -I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/libxml2
-I/usr/local/include -I./derived_src -I. -I/usr/local/include
-I/gnustep-gsweb-1.3.0_writes_to_HOME/GNUstep/Library/Headers
-I/usr/local/include \
       -o obj/WebObjects/WebObjects.obj/GSWApplication+Defaults.m.o
clang: warning: argument unused during compilation: '-fexec-charset=UTF-8'
GSWApplication+Defaults.m:273:17: error: cannot pass object with interface
type 'NSString' by-value through variadic method
      LOGOPT_NC(GSWOPTVALUE_DirectConnectEnabled);
                ^
././GSWConfig.h:47:44: note: expanded from:
#define GSWOPTVALUE_DirectConnectEnabled                        @"YES"
                                                                ^
GSWApplication+Defaults.m:211:16: note: expanded from:
                   #optname, optname[GSWebNamingConv])
                             ^





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34787>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]