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 agogcc has supported some 'extensions' in the past, their use is discouraged and I don't know the syntax.
There was one for: if (x != 0); return x; And there might have been one for min/max - which could be the one you have there. With enough actual context you should be able to work out what has intended.