Ticket #1202 (closed defect: fixed)

Opened 15 months ago

Last modified 14 months ago

nvtt doesn't build with gcc 4.7

Reported by: bruno Owned by: philip
Priority: Should Have Milestone: Alpha 10
Component: Build & Packages Keywords:
Cc:

Description

unistd.h is no longer included by some other include files and needs to be included separately. Including it should break building under earlier versions of gcc.

--- a/libraries/nvtt/src/src/nvcore/Debug.cpp +++ b/libraries/nvtt/src/src/nvcore/Debug.cpp @@ -1,5 +1,6 @@

This code is in the public domain -- castanyo@…

+#include <unistd.h>

#include <nvcore/Debug.h> #include <nvcore/StrLib.h>

Change History

comment:1 Changed 15 months ago by bruno

That was supposed to be SHOULDN'T break building under previous versions of gcc.

comment:2 Changed 14 months ago by philip

  • Owner set to philip
  • Status changed from new to closed
  • Resolution set to fixed

In 11379:

Fix NVTT build on GCC 4.7. Fixes #1202.

comment:3 Changed 14 months ago by k776

  • Milestone changed from Backlog to Alpha 10
Note: See TracTickets for help on using tickets.