www.digitalmars.com         C & C++   DMDScript  

c++.rtl - Request new #pragma and warnings

Hi,

Where can I suggest the following new pragma's and warnings:

- #pragma error "message"  (Exits the compiler with an error and 
displays the message "message")

- #pragma options "options' (This program will be compiled with the 
options as if these options are given from commandline) if options are 
given from commandline that are in conflict with then, the options given 
   from the commandline supersedes.

- #pragma _options "options' Same as options. Only if options are given 
from commandline that are in conflict with then, the options given in 
the file supersedes.

Warnings:
- "Variables <var> is declared, but never used."
- A warning that states that a variable/function x is not explicitly 
declares in function y. (When function x comes first in file, function y 
does not need to declare him, because the compiler knows where it is.)


Maybe I haven't found these things yet in the current version. If so, 
please let me know.

I am glad that a normal (ANSI C) compiler still exists for persons that 
use it for the hobby. Thanks !

Best Regards,
Casper.
Dec 09 2007