error C2371: 'wchar_t' : redefinition; different basic types PROBLEMS

Discussion in 'C Programming' started by merrittr, Oct 9, 2009.

  1. merrittr

    merrittr Guest

    I am trying to compile a C program in VS 2005 c++ compiler I am
    getting this error:

    Error 2 error C2371: 'wchar_t' : redefinition; different basic types C:
    \Program Files\Microsoft Visual Studio 8\VC\include\crtdefs.h 522
    Error 3 error C2371: 'time_t' : redefinition; different basic types C:
    \Program Files\Microsoft Visual Studio 8\VC\include\crtdefs.h 580

    I have set Configuraion Properties>C/C++>Language>Treat wchar_t as
    Built-in Type : No (/Zcwchar_t-)

    What else can I do to eliminate these errors
     
    merrittr, Oct 9, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Gernot Frisch

    redefinition, different types

    Gernot Frisch, Sep 13, 2004, in forum: C++
    Replies:
    13
    Views:
    2,242
    Jerry Coffin
    Sep 14, 2004
  2. junaidnaseer
    Replies:
    4
    Views:
    785
    junaidnaseer
    May 9, 2006
  3. Replies:
    4
    Views:
    3,671
    James Kanze
    Aug 5, 2008
  4. Replies:
    3
    Views:
    1,186
    James Kanze
    Aug 15, 2008
  5. omnia neo

    error C2375 - redefinition; different linkage

    omnia neo, Apr 23, 2010, in forum: C Programming
    Replies:
    6
    Views:
    3,144
    ImpalerCore
    Apr 23, 2010
Loading...

Share This Page