Project

General

Profile

Bug #58

Bug #53: MSVC10 compilation

MSVC10 - more things and overhead

Added by Anna Maria Bigatti over 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Portability
Target version:
Start date:
07 Dec 2011
Due date:
% Done:

100%

Estimated time:
Spent time:

Description

Other easier tasks for portability to Visual Studio.

History

#1 Updated by Anna Maria Bigatti over 12 years ago

  • Subject changed from MSVC10 compilation - more things and overhead to MSVC10 - more things and overhead

#2 Updated by John Abbott about 12 years ago

In RandomBoolStream.C there is a conversion from an unsigned long to a std::bitset. The code is correct, but MSVC fails to compile it -- according to the internet the bug was detected and reported to them 18 months ago. There is an ugly workaround: cast to unsigned long long which must be placed inside an #ifdef because it is not portable C++03 code.

#3 Updated by John Abbott about 12 years ago

The code in TmpFactorDir/linalg/Qdet.c is incomplete.
I have hidden it by using a preprocessor conditional
(because MSVC tries to compile all *.c files it finds).

#4 Updated by John Abbott about 12 years ago

The preprocessor symbol definition of NDEBUG was never used anywhere.
It caused trouble on MSVC, so has been removed.

#5 Updated by John Abbott about 12 years ago

Moved initializer for const static data member from decimal.H to decimal.C.
Allows compilation with MSVC, and give better decoupling (no need to recompile
many files if we change the value).

#6 Updated by John Abbott about 12 years ago

  • Status changed from New to Closed
  • % Done changed from 30 to 100

Sundry other changes to accomodate MSVC bugs.

Added some #if conditionals as workarounds; ideally these should eventually be removed when a new MSVC becomes widely available.

Anyway, everything now compiles (& links) fine.

#7 Updated by Anna Maria Bigatti almost 12 years ago

  • Target version set to CoCoA-5.0.2

Also available in: Atom PDF