User forums > Help

An unexpected warnning returned by codeblocks

(1/1)

wanggaoteng:
Hi, when i using codeblocks to compile the following code, a warnning appeared, i have included string.h in the file, why dose codeblocks returns the warnning after compiling?


--- Code: ---#include "stdio.h"
#include "string.h"

int main()
{
    char c[]="AAA";
    strlwr(c);
    printf("%s\n",c);
    return 0;
}

--- End code ---

stahta01:
Code::Blocks is returning the Compiler Warning from the Compiler!

Please read the rules  http://forums.codeblocks.org/index.php/topic,9996.0.html
And, then, learn about the compiler you are using; ask for compiler support elsewhere!

Tim S.

wanggaoteng:

--- Quote from: stahta01 on October 13, 2017, 09:53:40 am ---Code::Blocks is returning the Compiler Warning from the Compiler!

Please read the rules  http://forums.codeblocks.org/index.php/topic,9996.0.html
And, then, learn about the compiler you are using; ask for compiler support elsewhere!

Tim S.

--- End quote ---
Thanks!

Navigation

[0] Message Index

Go to full version