Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Usage of Borland's #pragma warn.

29 views
Skip to first unread message

Jason Cipriani

unread,
Jun 17, 2008, 5:47:13 PM6/17/08
to
The documentation for #pragma warn reads:

Syntax: #pragma warn [+|-|.]xxx

Description: The warn pragma lets you override specific -wxxx command-line
options or check Display Warnings. xxx is the three-letter or four-digit
message identifier used by the command-line option.

Does anybody know what the . (period) does (as opposed to + and -)?

Thanks,
Jason


Remy Lebeau (TeamB)

unread,
Jun 17, 2008, 5:54:30 PM6/17/08
to

"Jason Cipriani" <jason.c...@nospam-gmail.com> wrote in message
news:485830e0$1...@newsgroups.borland.com...

> Does anybody know what the . (period) does (as opposed to + and -)?

It restores the specified warning back to its default on/off state. It is a
convenient way for you to turn on/off a warning and then restore it without
you having to know or keep track of what the previous state actually was.


Gambit


Jason Cipriani

unread,
Jun 18, 2008, 2:05:24 AM6/18/08
to
"Remy Lebeau (TeamB)" <no....@no.spam.com> wrote in message
news:4858396b$1...@newsgroups.borland.com...

Cool, and that's what I was hoping for.

Thanks,
Jason


0 new messages