Opened 7 years ago

Closed 7 years ago

#54682 closed defect (duplicate)

tao 6.3.3 +server typedef redefinition with different types

Reported by: c-alpha Owned by: lockhart (Thomas Lockhart)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: sierra Cc:
Port: tao

Description

Build environment:

  • macOS 10.12.6 (16G29)
  • Xcode 8.1 (8B62)

Command invoked: sudo port install tao (builds +server by default)

clockid_t is typdef-ed in /usr/include/time.h, as well as in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_tao/tao/work/ACE_wrappers/ace/os_include/sys/os_types.h. The definitions differ, which causes the compilation of Local_Name_Space.cpp to fail.

Similarly, marco redefinition warnings for CLOCK_REALTIME and CLOCK_MONOTONIC are also reported by the compiler (/usr/include/time.h as above, and /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_tao/tao/work/ACE_wrappers/ace/os_include/sys/os_time.h).

Attachments (1)

main.log (36.5 KB) - added by c-alpha 7 years ago.
build log

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by c-alpha

Attachment: main.log added

build log

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Cc: lockhart removed
Owner: set to lockhart
Status: newassigned

comment:2 Changed 7 years ago by lockhart (Thomas Lockhart)

This seems to have been introduced with newer versions of MacOS. Submitting patches to upgrade to TAO 2.4.5 (6.4.5) which address this issue and tested on Sierra.

comment:3 Changed 7 years ago by lockhart (Thomas Lockhart)

Fix addressed in #54778 submitted today. This bug report should be retired or otherwise pointed at that new ticket.

comment:4 Changed 7 years ago by mf2k (Frank Schima)

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.