Author
anonymous
almost 7 years ago
Language
Compiler
Options
Author
anonymous
almost 7 years ago
$
prog.cc: In function 'int main()':
prog.cc:6:11: error: call of overloaded 'write(int)' is ambiguous
write(42);
^
prog.cc:2:6: note: candidate: void write(short unsigned int)
void write(unsigned short data){}
^~~~~
prog.cc:3:6: note: candidate: void write(unsigned int)
void write(unsigned int data){}
^~~~~
Exit Code:
1