Hi, I build GNUstep successfully with GCC 4.9.1. Here some warnings I get (alongside the usual):
For Base: Compiling file blocks_runtime.m ... blocks_runtime.m: In function '_Block_copy': blocks_runtime.m:215:20: warning: taking address of expression of type 'void' if (self->isa == &_NSConcreteStackBlock ^ blocks_runtime.m: In function '_Block_release': blocks_runtime.m:238:20: warning: taking address of expression of type 'void' if (self->isa == &_NSConcreteStackBlock ^ Compiling file NSBlocks.m ... NSBlocks.m:6:2: warning: #warning Unable to build NSBlocks for this runtime. [-Wcpp] #warning Unable to build NSBlocks for this runtime. ^ ================================================================ Compiling file GSAttributedString.m ... GSAttributedString.m: In function 'cacheAttributes': GSAttributedString.m:170:11: warning: @interface of class 'GSCachedDictionary' not found attrs = [(NSDictionary*)[GSCachedDictionary alloc] ^ ================================================================ Compiling file GSSocksParser/GSSocksParser.m ... GSSocksParser/GSSocksParser.m: In function '-[GSSocksParser initWithConfiguration:address:port:]': GSSocksParser/GSSocksParser.m:76:3: warning: 'concreteClass' may be used uninitialized in this function [-Wmaybe-uninitialized] return [[concreteClass alloc] initWithConfiguration: aConfiguration ^ ============================================================== Compiling file NSDistantObject.m ... NSDistantObject.m: In function '-[Object(NSConformsToProtocolNamed) _conformsToProtocolNamed:]': NSDistantObject.m:89:3: warning: 'Object' may not respond to '-conformsTo:' return [self conformsTo: p]; ^ NSDistantObject.m:89:3: warning: (Messages without a matching method signature NSDistantObject.m:89:3: warning: will be assumed to return 'id' and accept NSDistantObject.m:89:3: warning: '...' as arguments.) NSDistantObject.m:89:3: warning: return makes integer from pointer without a cast ============================================================== Compiling file NSPredicate.m ... NSPredicate.m: In function '-[GSPredicateScanner parseBinaryExpression]': NSPredicate.m:2578:21: warning: variable 'right' set but not used [-Wunused-but-set-variable] NSExpression *right; ^ ============================================================== Compiling file NSSortDescriptor.m ... NSSortDescriptor.m: In function '+[NSSortDescriptor initialize]': NSSortDescriptor.m:67:7: warning: @interface of class 'GSShellSortPlaceHolder' not found [GSShellSortPlaceHolder class]; ^ =============================================================== Compiling file objc-load.m ... objc-load.m: In function 'GSPrivateLoadModule': objc-load.m:150:18: warning: typedef 'void_fn' locally defined but not used [-Wunused-local-typedefs] typedef void (*void_fn)(); ^ For GUI: NSActionCell.m: In function '-[NSActionCell initWithCoder:]': NSActionCell.m:401:10: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] id dummy; ^ ============================================================== Compiling file NSComboBox.m ... NSComboBox.m: In function '-[NSComboBox textView:doCommandBySelector:]': NSComboBox.m:492:3: warning: 'NSTextField' may not respond to '-textView:doCommandBySelector:' if ([super textView: textView doCommandBySelector: command]) ^ NSComboBox.m:492:3: warning: (Messages without a matching method signature NSComboBox.m:492:3: warning: will be assumed to return 'id' and accept NSComboBox.m:492:3: warning: '...' as arguments.) ============================================================== Compiling file GSHorizontalTypesetter.m ... GSHorizontalTypesetter.m: In function '-[GSHorizontalTypesetter layoutLineNewParagraph:]': GSHorizontalTypesetter.m:712:13: warning: variable 'last_p' set but not used [-Wunused-but-set-variable] NSPoint last_p; ^ ============================================================= Compiling file GSspell.m ... GSspell.m: In function '-[GNUAspellSpellChecker spellServer:suggestGuessesForWord:inLanguage:]': GSspell.m:468:7: warning: variable 'words' set but not used [-Wunused-but-set-variable] int words = 0; ^ Germán. _______________________________________________ Gnustep-dev mailing list Gnustep-dev@gnu.org https://lists.gnu.org/mailman/listinfo/gnustep-dev