Try to compile SOGo 2.3.3 with Openchange 2.4-zentyal16 support.
Use clang (llvm 3.7.0) as compiler.

Build failed:
clang MAPIStorePropertySelectors.m -c \
      -MMD -MP -DSAML2_CONFIG=1 -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1
-DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing
-fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS
-fobjc-nonfragile-abi -D_NONFRAGILE_ABI -pthread -fPIC -g -DDEBUG
-fno-omit-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -pipe
-Wall -g -pipe -Wall -g -march=athlon -mtune=generic -pipe -Wall -g -O2
-fobjc-runtime=gnustep-1.7 -fobjc-nonfragile-abi -DGNUSTEP -DGNU_RUNTIME
-mtune=i586 -fgnu-runtime -fconstant-string-class=NSConstantString -Wall
-fobjc-exceptions -DSAMBA_PRIVATE_DIR=@"\"/var/lib/samba/private\""
-DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1 -I/usr/include/samba-4.0
-DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1 -I/usr/include/samba-4.0
-DSAMBA_PREFIX="\"/usr\"" -I../SoObjects -I../SOPE
-DBACKEND_BUNDLE_NAME="@\"SOGoBackend.MAPIStore\""
-DSOGO_BUNDLES_DIR="@\"/usr/lib/GNUstep/SOGo\"" -I.
-I/usr/src/GNUstep/Headers -I/usr/include -I/usr/include -I/usr/include
-I/usr/include -fgnu-runtime -x objective-c -I/usr/include/libxml2 \
       -o obj/SOGoBackend.obj/MAPIStorePropertySelectors.m.o
In file included from MAPIStorePropertySelectors.m:6:
In file included from ./MAPIStorePropertySelectors.h:19:
./MAPIStoreObject.h:71:32: warning: declaration of 'struct
mapistore_property_data' will not be visible outside of this function
[-Wvisibility]
- (int) getProperties: (struct mapistore_property_data *) data
                               ^
MAPIStorePropertySelectors.m:66519:3: error: initializer element is not
a compile-time constant

Any idea how to fix it?

-- 
Andrey Cherepanov
c...@altlinux.org
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to