[MacPorts] #40498: nepomuk-core fails to build

MacPorts noreply at macports.org
Mon Sep 16 16:44:32 PDT 2013


#40498: nepomuk-core fails to build
---------------------------+---------------------
  Reporter:  mk@…          |      Owner:  nicos@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  nepomuk-core  |
---------------------------+---------------------

Comment (by ryandesign@…):

 A Google search for "declaration does not declare anything" suggests the
 problem is that whatever variable or function is being declared (in this
 case "sleep") is being `#define`d to nothing somewhere else. And I see
 that's the case in nepomuk-core's main.cpp where it says:

 {{{
 #ifdef __unix__
     #include <unistd.h>
 #elif defined _WIN32
     #include <windows.h>
     static inline void sleep(unsigned int x) { Sleep(1000 * x); };
 #else
     #define sleep(x)
 #endif
 }}}

 I'd call it an upstream bug.

-- 
Ticket URL: <https://trac.macports.org/ticket/40498#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list