message.h File Reference Detailed Descriptionmessage output methods Because the message functions are implemented as defines with more than one function call, they shouldn't be used as a single statement like in: if( error ) SCIPerrorMessage("an error occured"); because this would produce the following macro extension: if( error ) printf(("[%s:%d] ERROR: ", FILE, LINE); printf(("an error occured"); Instead, they should be protected with brackets: if( error ) { SCIPerrorMessage("an error occured"); } Definition in file message.h. |