Project

General

Profile

Bug #56

Bug #53: MSVC10 compilation

MSVC10 - unistd.h

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:
Spent time:

Description

Is unistd.h only for "unix-like" systems?
There are problems with Visual Studio and other includes are needed instead.

History

#1 Updated by Anna Maria Bigatti over 12 years ago

  • Category set to Portability

#2 Updated by Anna Maria Bigatti over 12 years ago

  • Subject changed from MSVC10 compilation - unistd.h to MSVC10 - unistd.h

#3 Updated by Anna Maria Bigatti about 12 years ago

  • Assignee set to John Abbott
  • Target version set to CoCoA-5.0.2

#4 Updated by John Abbott about 12 years ago

We removed the include directive for unistd.h from Interpreter.H.
The code compiled fine for us.

We had to add an include directive for boost/thread/condition_variable.hpp for compilation to succeed on MSW. It is not clear why compilation succeeded on other platforms.

#5 Updated by John Abbott about 12 years ago

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

All references to unistd.h have been removed. The code now compiles on Windows (as well as Linux & MacOSX). This issue is now regarded as resolved/closed, though it has given birth to another issue (#118).

Also available in: Atom PDF