View Issue Details

IDProjectCategoryView StatusLast Update
0001989SOGoBackend Generalpublic2012-09-24 17:17
Reporterbuzzdee Assigned To 
Status closedResolutionfixed 
Product Version1.3.18 
Fixed in Version2.0.0 
Summary0001989: Compilation of SOGo fails with clang 3.1

Compilation of SOGo with clang 3.1 fails the following way:

clang SOGoWebAppointmentFolder.m -c \
-MMD -MP -I/usr/local/include/gnustep -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -DDEBUG -fno-omi
t-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -g -O0 -fgnu-runtime -ftrampolines -fconstant-string-class=NSConstantString -I.. -I../.. -I../../SOPE -I../../SOPE/ -I. -I/usr/local/include -I/sogo-
s_to_HOME/GNUstep/Library/Headers -I/usr/local/include \
-o obj/Appointments.obj/SOGoWebAppointmentFolder.m.o
clang-3: warning: argument unused during compilation: '-ftrampolines'
SOGoWebAppointmentFolder.m:146:87: error: expected ';' at end of declaration
size_t curlBodyFunction (void ptr, size_t size, size_t nmemb, void inSelf)
1 error generated.

Additional Information

There is a function declaration within a method which clang doesn't seem to like.

trying to add the proposed ; at the end of the line lead to other errors. Trying to move the function declaration out of the method too.

TagsNo tags attached.


Issue History

Date Modified Username Field Change
2012-09-21 13:30 buzzdee New Issue
2012-09-24 17:17 ludovic Note Added: 0004533
2012-09-24 17:17 ludovic Status new => closed
2012-09-24 17:17 ludovic Resolution open => fixed
2012-09-24 17:17 ludovic Fixed in Version => 2.0.0