NO

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

Offline bitcoin

  • Member
  • *
  • Posts: 88
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: 1889
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: 88
Re: Pragma warnings don't work?
« Reply #2 on: October 23, 2019, 02:12:53 pm »
Thank you mr. Cat, all works.