Pelles C forum

Pelles C => General discussions => Topic started by: bitcoin on October 23, 2019, 09:58:40 AM

Title: Pragma warnings don't work?
Post by: bitcoin on October 23, 2019, 09:58:40 AM
Hello
In VC++ I can disable some kind of warnings with #pragma warnings disable...
Are there such method in Pelles C?
Title: Re: Pragma warnings don't work?
Post by: TimoVJL on October 23, 2019, 11:49:19 AM
help file is a your friend:
#pragma warn( { push | pop | { enable | disable }[:] number ... } )  [2.90]

commandline:
The /Wd option disables the compiler warning specified by number. The warning number is displayed in the warning message from the compiler as #number
Title: Re: Pragma warnings don't work?
Post by: bitcoin on October 23, 2019, 02:12:53 PM
Thank you mr. Cat, all works.