Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C - C++ Learning > Idea: Working p...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 4119 of 4218
Post > Topic >>

Idea: Working past compile failures (TryCompileOnFailure-Block)

by "Skybuck Flying" <BloodyShame@[EMAIL PROTECTED] > Apr 19, 2008 at 04:41 AM

Hello,

For testing purposes and maybe even development purposes it might be handy

to let the compiler try compiling some sections of code, if it fails 
compiling those sections, the compiler will just continue after the 
"TryCompileOnFailure" block.
The compiler might even set some pre-defined variables in program code so 
good code at on failure might display compile failures... could be 
interesting for test code.

So for example a new compiler block or syntax might be used for example:

TryCompileBegin
    SomePossiblyFaultyCode
TryCompileOnFailure
    WriteStrings( CompileFailureMessages );
TryCompileEnd

Bye,
  Skybuck.
 




 1 Posts in Topic:
Idea: Working past compile failures (TryCompileOnFailure-Block)
"Skybuck Flying"  2008-04-19 04:41:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 19:29:26 CDT 2008.