Ignoring #pragma warning [-Wunknown-pragmas]


#1

how to deal with this waring?
微信截图_20171124095851


#2

C code with GUN gcc compilar


#3

What linter packages do you have installed?


#4

linter
linter-gcc


#5

A quick search for “gcc unknown pragma” turns up this StackOverflow question as the first result:

https://stackoverflow.com/questions/6557042/how-to-disable-a-particular-unknown-pragma-warning-gcc-and-or-clang