NO

Author Topic: Pragma warnings don't work?  (Read 2516 times)

Offline bitcoin

  • Member
  • *
  • Posts: 179
Pragma warnings don't work?
« 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?

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Re: Pragma warnings don't work?
« Reply #1 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
May the source be with you

Offline bitcoin

  • Member
  • *
  • Posts: 179
Re: Pragma warnings don't work?
« Reply #2 on: October 23, 2019, 02:12:53 PM »
Thank you mr. Cat, all works.