Author Topic: An unexpected warnning returned by codeblocks  (Read 2829 times)

Offline wanggaoteng

  • Multiple posting newcomer
  • *
  • Posts: 30
An unexpected warnning returned by codeblocks
« 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;
}

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: An unexpected warnning returned by codeblocks
« Reply #1 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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline wanggaoteng

  • Multiple posting newcomer
  • *
  • Posts: 30
Re: An unexpected warnning returned by codeblocks
« Reply #2 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!