Forum Discussion
Altera_Forum
Honored Contributor
12 years agoint c = a <? b; // what is it ? operator ? digraph ? compiler options ?
I search information about this instruction : int c = a <? b; A sample of code who compiled with an older version of nios2-elf-gcc (NIOS II EDS 6.0) : int foo(int a, int b)
{
int c = ...
Altera_Forum
Honored Contributor
12 years agoIt doesn't look like valid C. The ? operator is only used in a "test ? if_true : if_false" construction. Are you sure that this code line was actually compiled with your older version of gcc? Could it be excluded with an# ifdef ?