Opened 13 months ago

Last modified 7 weeks ago

#52933 accepted defect

xdotool @2.20110530.1: error: typedef redefinition with different types ('int' vs 'enum clockid_t')

Reported by: datajerk Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.5
Keywords: sierra highsierra Cc: jasonqpswilson, mklein-de (Michael Klein), vjorlikowski, sgharpsr
Port: xdotool

Description

:info:build     xdo_get_window_name(context->xdo, window, &name, &name_len, &name_type);
:info:build                                               ^~~~~
:info:build ./xdotool.h:16:7: note: expanded from macro 'window_each'
:info:build       block \
:info:build       ^~~~~
:info:build ./xdo.h:873:41: note: passing argument to parameter 'name_ret' here
:info:build                         unsigned char **name_ret, int *name_len_ret,
:info:build                                         ^
:info:build 1 warning generated.
:info:build /usr/bin/clang -Os -g  -std=c99 -I/opt/local/include   -c -o cmd_windowminimize.o cmd_windowminimize.c
:info:build In file included from cmd_behave_screen_edge.c:10:
:info:build ./osx_hacks.h:4:9: warning: 'CLOCK_MONOTONIC' macro redefined [-Wmacro-redefined]
:info:build #define CLOCK_MONOTONIC 1
:info:build         ^
:info:build /usr/include/time.h:156:9: note: previous definition is here
:info:build #define CLOCK_MONOTONIC _CLOCK_MONOTONIC
:info:build         ^
:info:build In file included from cmd_behave_screen_edge.c:10:
:info:build ./osx_hacks.h:5:13: error: typedef redefinition with different types ('int' vs 'enum clockid_t')
:info:build typedef int clockid_t;
:info:build             ^
:info:build /usr/include/time.h:171:3: note: previous definition is here
:info:build } clockid_t;
:info:build   ^
:info:build 1 warning and 1 error generated.
:info:build make: *** [cmd_behave_screen_edge.o] Error 1

Attachments (1)

main.log (17.9 KB) - added by datajerk 13 months ago.

Download all attachments as: .zip

Change History (7)

Changed 13 months ago by datajerk

comment:1 Changed 13 months ago by raimue (Rainer Müller)

  • Keywords sierra added
  • Owner changed from macports-tickets@… to ryandesign
  • Status changed from new to assigned

comment:2 Changed 13 months ago by ryandesign (Ryan Schmidt)

  • Status changed from assigned to accepted

Yes, the solution is to update xdotool to the latest version. Doing so requires the addition of a new port for libxkbcommon; see #52955.

comment:3 Changed 7 months ago by jasonqpswilson

  • Cc jasonqpswilson added

comment:4 Changed 6 months ago by mklein-de (Michael Klein)

  • Cc mklein-de added

comment:5 Changed 5 months ago by ryandesign (Ryan Schmidt)

  • Cc vjorlikowski added

Has duplicate #54547.

comment:6 Changed 7 weeks ago by ryandesign (Ryan Schmidt)

  • Cc sgharpsr added
  • Keywords highsierra added
  • Summary changed from xdotool 2.20110530.1_0 darwin 16 build fail to xdotool @2.20110530.1: error: typedef redefinition with different types ('int' vs 'enum clockid_t')

Has duplicate #55157.

Note: See TracTickets for help on using tickets.