Crystal Space
Welcome, Guest. Please login or register.
April 21, 2015, 02:32:51 am

Login with username, password and session length
Search:     Advanced search
9035 Posts in 2050 Topics by 9786 Members
Latest Member: Bellastewarttt
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Support
| | |-+  Can this compile under MSVC 6.0?
« previous next »
Pages: [1] Print
Author Topic: Can this compile under MSVC 6.0?  (Read 191 times)
Janssen
Newbie
*
Posts: 2


View Profile Email
« on: March 26, 2015, 04:33:39 pm »

Tried compiling simple1.cpp, getting errors:

Deleting intermediate files and output files for project 'simple1 - Win32 Debug'.
--------------------Configuration: simple1 - Win32 Debug--------------------
Compiling...
simple1.cpp
f:\include\csutil\win32\csosdefs.h(58) : warning C4163: '_byteswap_ushort' : not available as an intrinsic function
f:\include\csutil\win32\csosdefs.h(58) : warning C4163: '_byteswap_ulong' : not available as an intrinsic function
f:\include\csutil\win32\csosdefs.h(58) : warning C4163: '_byteswap_uint64' : not available as an intrinsic function
f:\include\csutil\win32\csosdefs.h(90) : warning C4163: '_BitScanForward' : not available as an intrinsic function
f:\include\csutil\win32\csosdefs.h(91) : warning C4163: '_BitScanReverse' : not available as an intrinsic function
f:\include\cssysdef.h(1276) : error C2485: 'deprecated' : unrecognized extended attribute
f:\include\csutil\nullptr.h(63) : error C2552: 'CS_nullptr' : non-aggregates cannot be initialized with initializer list
f:\include\csutil\nullptr.h(63) : error C2059: syntax error : '}'
f:\include\csutil\nullptr.h(63) : error C2143: syntax error : missing ';' before '}'
f:\include\csutil\nullptr.h(63) : error C2143: syntax error : missing ';' before '}'
f:\include\csutil\customallocated.h(174) : fatal error C1506: unrecoverable block scoping error
Error executing cl.exe.

simple1.exe - 6 error(s), 5 warning(s)

---

f:\include\csutil\nullptr.h(63) is:       const nullptr_t nullptr = {};
Logged
sunshine
Administrator
Sr. Member
*****
Posts: 295


View Profile
« Reply #1 on: March 26, 2015, 08:21:18 pm »

If I recall correctly, support for MSVC 6 was dropped intentionally several years ago for several reasons:

  • newer free versions of MSVC were available (whereas MSVC 6 was old and not free)
  • it was getting increasingly difficult to support it due to its age and lack of proper support for various C++ features, thus requiring deeply ugly work-arounds
  • nobody was actively using it anymore, so when problems with MSVC 6 support were introduced they were not noticed for a long time
Logged
Janssen
Newbie
*
Posts: 2


View Profile Email
« Reply #2 on: March 26, 2015, 08:41:22 pm »

I suppose not: "2.4.4 In order to successfully compile the Crystal Space 3D Software Development Kit (SDK), you will need a copy of Microsoft Visual C++ 8 (.NET 2005), Microsoft Visual C++ 9 (.NET 2008), or Microsoft Visual C++ 10 (.NET 2010)."

Tried it with MSVC 2008 and it works.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 4.186 seconds with 16 queries.