Actions
Bug #7840
open-Wdeclaration-after-statement is valid for C/ObjC but not for C++
Description
because of the new flags in warnflags i get this following errors:
cc1plus: warning: command line option '-Wdeclaration-after-statement' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wimplicit-function-declaration' is valid for C/ObjC but not for C++ [enabled by default]
its because my gems are written in C++ and not in C, so i think this flags should not be used when the variable is used for both C and C++
Updated by ko1 (Koichi Sasada) over 10 years ago
- Target version set to 2.6
- Category set to build
- Assignee set to nobu (Nobuyoshi Nakada)
Updated by jeremyevans0 (Jeremy Evans) almost 3 years ago
declaration-after-statement warnings were removed in ec336fb40e4df0c8615e584fbefb5e9e572cb9ec. implicit-function-declaration warnings are still present, though.
Actions
Like0
Like0Like0Like0