Code::Blocks Forums

User forums => Help => Topic started by: wanggaoteng on October 13, 2017, 09:36:30 am

Title: An unexpected warnning returned by codeblocks
Post by: wanggaoteng on October 13, 2017, 09:36:30 am
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;
}
Title: Re: An unexpected warnning returned by codeblocks
Post by: 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.
Title: Re: An unexpected warnning returned by codeblocks
Post by: wanggaoteng on October 13, 2017, 12:03:51 pm
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.
Thanks!