Solaris compile requires -D_POSIX_PTHREAD_SEMANTICS
---------------------------------------------------

                 Key: TS-124
                 URL: https://issues.apache.org/jira/browse/TS-124
             Project: Traffic Server
          Issue Type: Bug
          Components: Build
         Environment: Solaris with SunStudio
            Reporter: Nick Kew
            Priority: Critical


ctime_r has two different prototypes, with either two or three arguments.  To 
get the compiler to recognise the two-argument form used in 
libinktomi++/InkTime.cc requires _POSIX_PTHREAD_SEMANTICS to be defined in the 
build.

This can probably be harmlessly added to the Makefile across platforms.

Googling found a useful explanation at 
http://www.openldap.org/lists/openldap-bugs/199812/msg00110.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to