@@ -277,16 +277,16 @@ if cc.compiles('
277277 struct timespec now;
278278 return 0 ;
279279 }
280- ' )
281- # TODO: message?
280+ ' , name : ' - Werror= shadow with local shadowing' )
282281 add_project_arguments (' -Werror=shadow' , language : ' c' )
283282endif
284283
285284if cc.get_id() == ' clang'
286285 foreach arg : [' -Wno-typedef-redefinition' ,
287286 ' -Wno-gnu-variable-sized-type-not-at-end' ,
288287 ]
289- if cc.has_argument(arg)
288+ if cc.has_argument(arg,
289+ name : ' @0@ is supported' .format(arg))
290290 add_project_arguments (arg, language : ' c' )
291291 endif
292292 endforeach
@@ -314,7 +314,8 @@ endforeach
314314if get_option (' buildtype' ) != ' debug'
315315 foreach arg : [' -ffunction-sections' ,
316316 ' -fdata-sections' ]
317- if cc.has_argument(arg)
317+ if cc.has_argument(arg,
318+ name : ' @0@ is supported' .format(arg))
318319 add_project_arguments (arg, language : ' c' )
319320 endif
320321 endforeach
@@ -553,7 +554,7 @@ endif
553554system_uid_max = system_uid_max.to_int()
554555conf.set(' SYSTEM_UID_MAX' , system_uid_max)
555556substs.set(' systemuidmax' , system_uid_max)
556- message (' Maximum system UID is @0@' .format(system_uid_max))
557+ message (' maximum system UID is @0@' .format(system_uid_max))
557558
558559conf.set_quoted(' NOBODY_USER_NAME' , get_option (' nobody-user' ))
559560conf.set_quoted(' NOBODY_GROUP_NAME' , get_option (' nobody-group' ))
@@ -568,7 +569,7 @@ endif
568569system_gid_max = system_gid_max.to_int()
569570conf.set(' SYSTEM_GID_MAX' , system_gid_max)
570571substs.set(' systemgidmax' , system_gid_max)
571- message (' Maximum system GID is @0@' .format(system_gid_max))
572+ message (' maximum system GID is @0@' .format(system_gid_max))
572573
573574tty_gid = get_option (' tty-gid' )
574575conf.set(' TTY_GID' , tty_gid)
0 commit comments