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

 
 

You are not allowed to post comments on this tracker with your current authentification level.

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

Submitted by:  Sebastian Reitenbach <buzzdee>
Submitted on:  Wed 09 Nov 2011 06:20:25 PM UTC  
 
Category: gswebSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

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>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup