Project

General

Profile

Bug #60

Bug #53: MSVC10 compilation

MSVC10 - shared_ptr

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

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

100%

Estimated time:
1.00 h
Spent time:

Description

Apparently Visual Studio has its own shared_ptr (in view of C++11?), so it complains about calls of boost::shared_ptr as "shared_ptr" (i.e. without "boost::")

I think it is "almost" right (in view of C++11 shared_ptr) and we should add "boost::" (very few occurrences)

History

#1 Updated by Anna Maria Bigatti over 12 years ago

  • % Done changed from 0 to 30

#2 Updated by Anna Maria Bigatti about 12 years ago

  • Target version set to CoCoA-5.0.2

#3 Updated by John Abbott about 12 years ago

In the interpreter there are 5 occurrences of shared_ptr.
These have all been replaced by boost::shared_ptr.
This avoids a problem with MSVC.

The question will have to be revisited when the code is updated to C++11.

#4 Updated by Anna Maria Bigatti about 12 years ago

  • Category set to Portability
  • Status changed from New to Closed
  • % Done changed from 30 to 100
  • Estimated time set to 1.00 h

Also available in: Atom PDF