gcc, make: how to disable fail on warning?

后端 未结 7 1280
天命终不由人
天命终不由人 2021-01-11 13:54

I\'m trying to build gcc for use with an AVR micro controller and avr-ada, and I\'ve hit a roadblock caused by my regular compiler being too picky about the version I needed

7条回答
  •  再見小時候
    2021-01-11 14:10

    It seems -Werror flag is set in Makefile. Maybe you can look for CFLAGS options in Makefile and remove the -Werror flag. The Werror flag will make all warnings into errors.

提交回复
热议问题