Skip to content
This repository has been archived by the owner on Mar 9, 2019. It is now read-only.

compile error with the latest libphenom and concurrencyKit #84

Open
teraPacket opened this issue Aug 27, 2017 · 1 comment
Open

compile error with the latest libphenom and concurrencyKit #84

teraPacket opened this issue Aug 27, 2017 · 1 comment

Comments

@teraPacket
Copy link

I got the following compile error when doing ./autogen.sh; ./configure; make.
I did a git clone on this repo and the github repo on concurrencyKit.

Any ideas? Thanks.

libtool: compile:  gcc -DHAVE_CONFIG_H -Ithirdparty/ck/include -Iinclude -I. -DPHENOM_IMPL=1 -Werror -m64 -fno-omit-frame-pointer -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D__x86_64__ -I/usr/local/include -std=gnu1x -pedantic -Wall -Wextra -Wno-declaration-after-statement -W -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wno-nested-externs -Winline -Wdisabled-optimization -fstrict-aliasing -pipe -Wno-parentheses -O2 -g -gdwarf-2 -MT corelib/libphenom_la-counter.lo -MD -MP -MF corelib/.deps/libphenom_la-counter.Tpo -c corelib/counter.c  -fPIC -DPIC -o corelib/.libs/libphenom_la-counter.o
In file included from include/phenom/counter.h:81:0,
                 from corelib/counter.c:17:
include/phenom/defs.h:368:41: error: static assertion failed: "counter_iterator_definition_bad"
 #  define ph_static_assert(expr, msg)   _Static_assert(expr, #msg)
                                         ^
corelib/counter.c:170:1: note: in expansion of macro 'ph_static_assert'
 ph_static_assert(sizeof(struct ph_counter_scope_iterator)

@wez
Copy link
Contributor

wez commented Aug 28, 2017

I don't believe that anyone has done any work to get this building with CK > 0.5.0.

If you just want to get things to compile, I'd suggest checking out the older branch/tag of concurrencykit.

If you'd like to submit a PR to adjust libphenom to use the current CK version, that would be welcomed!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants