bugGNUstep - Bugs: bug #34787, compilation of gsweb with clang...

Group
 
 

bug #34787: compilation of gsweb with clang and libobjc2 broken

Submitter:  Sebastian Reitenbach <buzzdee>
Submitted:  Wed 09 Nov 2011 06:20:25 PM UTC
   
 
Category:  gsweb Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 09 Nov 2011 06:20:25 PM UTC, original submission:  

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])
                             ^

Sebastian Reitenbach <buzzdee>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by buzzdee (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code