Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: help with compilation

  1. #1
    Guest

    help with compilation

    I use the lcc compiler with OpenGL. I must make a program that gets the inputs from the keyboard. I made the program, but when i compile it, I receive the following message:

    Warning c:\lcc-glapp\lcc\demo\trabalho2.c: c:\lcc-glapp\lcc\demo\stdio.h: 10 redefinition of wchar_t
    Compilation + link time:2.2 sec, Return code: 0

    what can I do? What is this problem?
    If I comment this line in the stdio.h file the program compiles, but it doesnt read the input from the keyboard...
    Please, help

  2. #2
    Guest

    Re: help with compilation

    The problem is that wchar_t is defined in several places probably because of poor header files. Get better headers or correct the ones you got.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •