[arm-gnu] Hosting warings from sscanf

Grant Ramsay grant at frogparking.com
Sun Jan 13 23:15:20 UTC 2013


Hi,

I have attached a small project that can be built on windows by running
build.bat with the correct tool chain installed at this directory
"$(ProgramFiles)/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI"

Change attachment extension from .zzz to .zip

#include <stdio.h>
int main(void)
{
 sscanf("str1", "str2");
}

The line "sscanf("str1", "str2");" seems to give me 4 warnings:
libcs3unhosted.a(unhosted-_close.o): warning: IO function '_close' used
Similar warnings from _lseek, _read and _write

I am looking to try to understand and remove these warnings,

Any help would be much appreciated

Thanks,


Grant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/arm-gnu/attachments/20130114/eb218a0c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warningTest.zzz
Type: application/x-zip-compressed
Size: 1427816 bytes
Desc: not available
URL: <http://sourcerytools.com/pipermail/arm-gnu/attachments/20130114/eb218a0c/attachment.bin>


More information about the arm-gnu mailing list