AnsweredAssumed Answered

symbol __stdout multiply define, symbol __stdin multiply define

Question asked by huy.truong on Mar 3, 2014
Latest reply on Jul 4, 2015 by Clive One
hello everyone, today I see a problem but no way to solve it
I really want your help

here is my source code

#pragma import(__use_no_semihosting_swi)

struct __FILE { int handle;};
FILE __stdout;
FILE __stdin;
----> errors : symbol __stdout multiply define, symbol __stdin multiply define
if I insert the "extern" keyword:
extern FILE __stdout;
extern FILE __stdin;
the error will be : Library reports error: __use_no_semihosting_swi was requested, but _sys_open was referenced

thank and regards!

Outcomes