gcc, make: how to disable fail on warning?

后端 未结 7 1289
天命终不由人
天命终不由人 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:05

    How about putting "pragma warnings(off, "...")" into the offending parts of your code?

    See http://www.adacore.com/2007/11/19/ada-gem-18/.

提交回复
热议问题