Results 1 to 3 of 3

Thread: Compiling to 64-bit

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2002
    Posts
    20

    Compiling to 64-bit

    Unfortunately, I find a little information on MSDN library about porting to 64-bit.

    I wonder how to compile for 64-bit OS in VC++.NET.

    In that case, I changed the preprocessor definitions of my project to _WIN64, but the compiler annoyed me that size_t is redefined in <new.h>
    I opened the new.h and in the middle of the file, these several lines took my attention:

    #ifndef _SIZE_T_DEFINED
    #ifdef _WIN64
    typedef unsigned __int64 size_t;
    #else
    typedef _W64 unsigned int size_t;
    #endif
    #define _SIZE_T_DEFINED
    #endif

    I couldn`t understand the exact problem. But, I think I did something incomplete.

    Please help!
    Last edited by Techno-Logic; Jun 21st, 2002 at 11:06 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width