gcc在Make时报错的修改

error: ‘packed’ attribute ignored for field of type ‘uchar_t’的解决方法:

 

 

去除-Werror选项

 

实例:

CC_GENERAL_OPTS := $(GENERAL_OPTS) -Werror

 

修改为:

 

CC_GENERAL_OPTS := $(GENERAL_OPTS)

你可能感兴趣的:(gcc)