Follow-up Comment #6, bug #34602 (project gnustep): Hi,
when just installing gnustep-base, I still get the warning when compiling NSRegularExpression.m: clang NSRegularExpression.m -c -MMD -MP -I/usr/local/include -DGNUSTEP_TARGET_DIR="." -DGNUSTEP_TARGET_CPU="ix86" -DGNUSTEP_TARGET_OS="openbsd5.0" -DGNUSTEP_IS_FLATTENED="yes" -DLIBRARY_COMBO="gnu-gnu-gnu" -DGNUSTEP_BASE_INTERNAL=1 -Wall -Wdeclaration-after- statement -Wcast-align -DGNUSTEP -DGNUSTEP_BASE_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 -fgnu-runtime -fconstant-string-class=NSConstantString -I../Headers -I./. -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/lo cal/include -I/usr/local/include -pthread -I/gnustep-base-1.23.1_writes_to_HOME/GNUstep/Library/Headers -I/usr/local/include -o obj/libgnustep-base.obj/NSRegularExpression.m.o NSRegularExpression.m:372:3: warning: #warning Your compiler does not support blocks. NSRegularExpression will deviate from the documented behaviour when subclassing and any code that subclasses NSRegularExpression may break in unexpected way s. It is strongly recommended that you use a compiler with blocks support. [-W#warnings] # warning Your compiler does not support blocks. NSRegularExpression will deviate from the documented behaviour when subclassing and any code that subclasses NSRegularExpression may break in unexpected ways. It is strongly recommended that you use a compiler with blocks support. ^ NSRegularExpression.m:374:4: warning: #warning Your compiler would support blocks if you added -fblocks to your OBJCFLAGS [-W#warnings] # warning Your compiler would support blocks if you added -fblocks to your OBJCFLAGS ^ 2 warnings generated. but when I add -fblocks, then the file compiles without warning. Who should put this parameter? is gnustep-make suposed to detect that the compiler understands those blocks, or does gnustep-base needs to provide that? Sebastian _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?34602> _______________________________________________ Nachricht geschickt von/durch Savannah http://savannah.gnu.org/ _______________________________________________ Bug-gnustep mailing list Bug-gnustep@gnu.org https://lists.gnu.org/mailman/listinfo/bug-gnustep