strupr question

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

strupr question

915件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kemes on Sat Mar 16 09:24:36 MST 2013
I am compiling a code that employ the strupr function.  I included the header <string.h>, but the compiler gives an error (undefined reference to strupr ).
The strange is that the strcpy is not signaled as an error.  Can anyone knows which settings I should set ?
Thanks
0 件の賞賛
返信
2 返答(返信)

866件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by frame on Sun Mar 17 03:58:20 MST 2013
If you need just a few clib functions, it might be worth to rewrite them
with just the functionality you need, instead of including a library,
even a reduced one like newlib.
It could save you a lot of code space, and avoid the step to a bigger,
more expensive MCU - if this makes a difference to you.
0 件の賞賛
返信

866件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sat Mar 16 10:02:01 MST 2013
Try Newlib ;)

http://www.support.code-red-tech.com/CodeRedWiki/RedlibAndNewlib
0 件の賞賛
返信