27.11.2016 12:17, Thomas Wagner пишет:
Hi,
I wanted to build gatling in obs.For Tumbleweed it builds. For Leap 42.1 and 42.2 I get errors like this [1]: [ 48s] dirfd.c:57:62: error: expected ';', ',' or ')' before 'key' [ 48s] struct dircacheentry** hashtable_lookup(const char* restrict key,size_t hashval) {
This leads to my conclusion that the C99 keyword restrict [2] is not recognized for Leap but for Tumbleweed. Is there a way to build C99 code for Leap?
Does adding --std=c99 to compiler options help?
best regards
Thomas
[1] https://build.opensuse.org/package/live_build_log/home:Aikhjarto:branches:ho...
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org