revert, msvc doesn't support `#warning'

This commit is contained in:
rlar 2013-10-10 19:00:47 +02:00
parent 8015442a22
commit bbdf2a2da0
1 changed files with 3 additions and 3 deletions

View File

@ -1863,7 +1863,7 @@ inp_fix_ternary_operator_str(char *line, bool all)
all = TRUE;
// get conditional
#warning "FIXME, this is search for beginning of the `conditional' expression is buggy."
//#warning "FIXME, this is search for beginning of the `conditional' expression is buggy."
/* FIXME, `question' might point to the end of this, for example
* "(a>2)||(b<4)?"
*/
@ -1901,7 +1901,7 @@ inp_fix_ternary_operator_str(char *line, bool all)
*str_ptr = keep;
// get if
#warning "FIXME, this search for a matching ':' is buggy."
//#warning "FIXME, this search for a matching ':' is buggy."
/* FIXME, str_ptr might look like this here
* "(foo+b)*(c?d:e):"
*/
@ -1923,7 +1923,7 @@ inp_fix_ternary_operator_str(char *line, bool all)
str_ptr = skip_ws(colon + 1);
/* ... : (else) */
if (*str_ptr == '(') {
#warning "FIXME, this search for end of `else' expression is buggy."
//#warning "FIXME, this search for end of `else' expression is buggy."
/* FIXME, str_ptr might look like this here
* "(foo*2)+3"
*/