#552 Include <string.h> fails

closed
nobody
None
5
2003-07-17
2003-07-17
Anonymous
No

Hi,

I've installed the last release of sdcc (2.3.0)
When I try to compile the test file as described within the
manual I get the following message:

test1.c:1:20 //string.h: Invalid argument
test1.c:1:20 string.h: Invalid argument

What does it mean?

It doesn't happen with an earlier release and also not
with a snapshot version.

The written code is:

#include <string.h>
main() {
char str1[10];
strcpy(str1, "testing");
}

The path to the libraries and the includes are correct.

Discussion

    • status: open --> closed