Created
December 26, 2020 14:10
-
-
Save kaosat-dev/7e31d21cd22924ae1b379a320cdb8426 to your computer and use it in GitHub Desktop.
Compile / run errors for ecs_collisions (flecs)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ckaos@pop-os:~/dev/experiments/flecs$ bake run ecs_collisions | |
[ build] package cglm => '/home/ckaos/bake/src/cglm' | |
[ build] package flecs => '/home/ckaos/dev/experiments/flecs/flecs' | |
[ build] package flecs.meta => '/home/ckaos/bake/src/flecs-meta' | |
[ build] package flecs.util => '/home/ckaos/bake/src/flecs-util' | |
[ 50%] ringbuf.c | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:5, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/ringbuf.h:15:1: error: unknown type name ‘FLECS_UTIL_EXPORT’; did you mean ‘FLECS_UTIL_API’? | |
15 | FLECS_UTIL_EXPORT | |
| ^~~~~~~~~~~~~~~~~ | |
| FLECS_UTIL_API | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/ringbuf.h:16:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token | |
16 | ecs_ringbuf_t* ecs_ringbuf_new( | |
| ^ | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/ringbuf.h:20:18: error: expected ‘;’ before ‘void’ | |
20 | FLECS_UTIL_EXPORT | |
| ^ | |
| ; | |
21 | void* ecs_ringbuf_push( | |
| ~~~~ | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/ringbuf.h:23:11: error: unknown type name ‘ecs_vector_params_t’ | |
23 | const ecs_vector_params_t *params); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/ringbuf.h:25:18: error: expected ‘;’ before ‘void’ | |
25 | FLECS_UTIL_EXPORT | |
| ^ | |
| ; | |
26 | void* ecs_ringbuf_get( | |
| ~~~~ | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/ringbuf.h:28:11: error: unknown type name ‘ecs_vector_params_t’ | |
28 | const ecs_vector_params_t *params, | |
| ^~~~~~~~~~~~~~~~~~~ | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/ringbuf.h:31:18: error: expected ‘;’ before ‘void’ | |
31 | FLECS_UTIL_EXPORT | |
| ^ | |
| ; | |
32 | void* ecs_ringbuf_last( | |
| ~~~~ | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/ringbuf.h:34:11: error: unknown type name ‘ecs_vector_params_t’ | |
34 | const ecs_vector_params_t *params); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/ringbuf.h:36:1: error: unknown type name ‘FLECS_UTIL_EXPORT’; did you mean ‘FLECS_UTIL_API’? | |
36 | FLECS_UTIL_EXPORT | |
| ^~~~~~~~~~~~~~~~~ | |
| FLECS_UTIL_API | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/ringbuf.h:37:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ecs_ringbuf_index’ | |
37 | uint32_t ecs_ringbuf_index( | |
| ^~~~~~~~~~~~~~~~~ | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/ringbuf.h:40:1: error: unknown type name ‘FLECS_UTIL_EXPORT’; did you mean ‘FLECS_UTIL_API’? | |
40 | FLECS_UTIL_EXPORT | |
| ^~~~~~~~~~~~~~~~~ | |
| FLECS_UTIL_API | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/ringbuf.h:41:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ecs_ringbuf_count’ | |
41 | uint32_t ecs_ringbuf_count( | |
| ^~~~~~~~~~~~~~~~~ | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/ringbuf.h:44:18: error: expected ‘;’ before ‘void’ | |
44 | FLECS_UTIL_EXPORT | |
| ^ | |
| ; | |
45 | void ecs_ringbuf_free( | |
| ~~~~ | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:6, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:24:16: error: redefinition of ‘struct ecs_strbuf_element’ | |
24 | typedef struct ecs_strbuf_element { | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:45, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/strbuf.h:26:16: note: originally defined here | |
26 | typedef struct ecs_strbuf_element { | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:6, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:29:3: error: conflicting types for ‘ecs_strbuf_element’ | |
29 | } ecs_strbuf_element; | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:45, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/strbuf.h:31:3: note: previous declaration of ‘ecs_strbuf_element’ was here | |
31 | } ecs_strbuf_element; | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:6, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:31:16: error: redefinition of ‘struct ecs_strbuf_element_embedded’ | |
31 | typedef struct ecs_strbuf_element_embedded { | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:45, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/strbuf.h:33:16: note: originally defined here | |
33 | typedef struct ecs_strbuf_element_embedded { | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:6, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:34:3: error: conflicting types for ‘ecs_strbuf_element_embedded’ | |
34 | } ecs_strbuf_element_embedded; | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:45, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/strbuf.h:36:3: note: previous declaration of ‘ecs_strbuf_element_embedded’ was here | |
36 | } ecs_strbuf_element_embedded; | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:6, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:36:16: error: redefinition of ‘struct ecs_strbuf_element_str’ | |
36 | typedef struct ecs_strbuf_element_str { | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:45, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/strbuf.h:38:16: note: originally defined here | |
38 | typedef struct ecs_strbuf_element_str { | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:6, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:39:3: error: conflicting types for ‘ecs_strbuf_element_str’ | |
39 | } ecs_strbuf_element_str; | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:45, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/strbuf.h:41:3: note: previous declaration of ‘ecs_strbuf_element_str’ was here | |
41 | } ecs_strbuf_element_str; | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:6, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:41:16: error: redefinition of ‘struct ecs_strbuf_list_elem’ | |
41 | typedef struct ecs_strbuf_list_elem { | |
| ^~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:45, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/strbuf.h:43:16: note: originally defined here | |
43 | typedef struct ecs_strbuf_list_elem { | |
| ^~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:6, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:44:3: error: conflicting types for ‘ecs_strbuf_list_elem’ | |
44 | } ecs_strbuf_list_elem; | |
| ^~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:45, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/strbuf.h:46:3: note: previous declaration of ‘ecs_strbuf_list_elem’ was here | |
46 | } ecs_strbuf_list_elem; | |
| ^~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:6, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:46:16: error: redefinition of ‘struct ecs_strbuf_t’ | |
46 | typedef struct ecs_strbuf_t { | |
| ^~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:45, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/strbuf.h:48:16: note: originally defined here | |
48 | typedef struct ecs_strbuf_t { | |
| ^~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:6, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:69:3: error: conflicting types for ‘ecs_strbuf_t’ | |
69 | } ecs_strbuf_t; | |
| ^~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:45, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/strbuf.h:71:3: note: previous declaration of ‘ecs_strbuf_t’ was here | |
71 | } ecs_strbuf_t; | |
| ^~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:6, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:73:18: error: expected ‘;’ before ‘_Bool’ | |
73 | FLECS_UTIL_EXPORT | |
| ^ | |
| ; | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:74:6: error: conflicting types for ‘ecs_strbuf_append’ | |
74 | bool ecs_strbuf_append( | |
| ^~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:45, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/strbuf.h:76:6: note: previous declaration of ‘ecs_strbuf_append’ was here | |
76 | bool ecs_strbuf_append( | |
| ^~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:6, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:81:18: error: expected ‘;’ before ‘_Bool’ | |
81 | FLECS_UTIL_EXPORT | |
| ^ | |
| ; | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:82:6: error: conflicting types for ‘ecs_strbuf_vappend’ | |
82 | bool ecs_strbuf_vappend( | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:45, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/strbuf.h:84:6: note: previous declaration of ‘ecs_strbuf_vappend’ was here | |
84 | bool ecs_strbuf_vappend( | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:6, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:89:18: error: expected ‘;’ before ‘_Bool’ | |
89 | FLECS_UTIL_EXPORT | |
| ^ | |
| ; | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:90:6: error: conflicting types for ‘ecs_strbuf_appendstr’ | |
90 | bool ecs_strbuf_appendstr( | |
| ^~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:45, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/strbuf.h:92:6: note: previous declaration of ‘ecs_strbuf_appendstr’ was here | |
92 | bool ecs_strbuf_appendstr( | |
| ^~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:6, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:96:18: error: expected ‘;’ before ‘_Bool’ | |
96 | FLECS_UTIL_EXPORT | |
| ^ | |
| ; | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:97:6: error: conflicting types for ‘ecs_strbuf_mergebuff’ | |
97 | bool ecs_strbuf_mergebuff( | |
| ^~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:45, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/strbuf.h:99:6: note: previous declaration of ‘ecs_strbuf_mergebuff’ was here | |
99 | bool ecs_strbuf_mergebuff( | |
| ^~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:6, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:103:18: error: expected ‘;’ before ‘_Bool’ | |
103 | FLECS_UTIL_EXPORT | |
| ^ | |
| ; | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:104:6: error: conflicting types for ‘ecs_strbuf_appendstr_zerocpy’ | |
104 | bool ecs_strbuf_appendstr_zerocpy( | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:45, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/strbuf.h:106:6: note: previous declaration of ‘ecs_strbuf_appendstr_zerocpy’ was here | |
106 | bool ecs_strbuf_appendstr_zerocpy( | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:6, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:110:18: error: expected ‘;’ before ‘_Bool’ | |
110 | FLECS_UTIL_EXPORT | |
| ^ | |
| ; | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:111:6: error: conflicting types for ‘ecs_strbuf_appendstr_zerocpy_const’ | |
111 | bool ecs_strbuf_appendstr_zerocpy_const( | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:45, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/strbuf.h:113:6: note: previous declaration of ‘ecs_strbuf_appendstr_zerocpy_const’ was here | |
113 | bool ecs_strbuf_appendstr_zerocpy_const( | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:6, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:117:18: error: expected ‘;’ before ‘_Bool’ | |
117 | FLECS_UTIL_EXPORT | |
| ^ | |
| ; | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:118:6: error: conflicting types for ‘ecs_strbuf_appendstrn’ | |
118 | bool ecs_strbuf_appendstrn( | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:45, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/strbuf.h:120:6: note: previous declaration of ‘ecs_strbuf_appendstrn’ was here | |
120 | bool ecs_strbuf_appendstrn( | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:6, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:124:18: error: expected ‘;’ before ‘char’ | |
124 | FLECS_UTIL_EXPORT | |
| ^ | |
| ; | |
125 | char *ecs_strbuf_get( | |
| ~~~~ | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:125:7: error: conflicting types for ‘ecs_strbuf_get’ | |
125 | char *ecs_strbuf_get( | |
| ^~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:45, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/strbuf.h:127:7: note: previous declaration of ‘ecs_strbuf_get’ was here | |
127 | char *ecs_strbuf_get( | |
| ^~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:6, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:129:18: error: expected ‘;’ before ‘void’ | |
129 | FLECS_UTIL_EXPORT | |
| ^ | |
| ; | |
130 | void ecs_strbuf_reset( | |
| ~~~~ | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:130:6: error: conflicting types for ‘ecs_strbuf_reset’ | |
130 | void ecs_strbuf_reset( | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:45, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/strbuf.h:132:6: note: previous declaration of ‘ecs_strbuf_reset’ was here | |
132 | void ecs_strbuf_reset( | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:6, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:134:18: error: expected ‘;’ before ‘void’ | |
134 | FLECS_UTIL_EXPORT | |
| ^ | |
| ; | |
135 | void ecs_strbuf_list_push( | |
| ~~~~ | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:135:6: error: conflicting types for ‘ecs_strbuf_list_push’ | |
135 | void ecs_strbuf_list_push( | |
| ^~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:45, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/strbuf.h:137:6: note: previous declaration of ‘ecs_strbuf_list_push’ was here | |
137 | void ecs_strbuf_list_push( | |
| ^~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:6, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:141:18: error: expected ‘;’ before ‘void’ | |
141 | FLECS_UTIL_EXPORT | |
| ^ | |
| ; | |
142 | void ecs_strbuf_list_pop( | |
| ~~~~ | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:142:6: error: conflicting types for ‘ecs_strbuf_list_pop’ | |
142 | void ecs_strbuf_list_pop( | |
| ^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:45, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/strbuf.h:144:6: note: previous declaration of ‘ecs_strbuf_list_pop’ was here | |
144 | void ecs_strbuf_list_pop( | |
| ^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:6, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:147:18: error: expected ‘;’ before ‘void’ | |
147 | FLECS_UTIL_EXPORT | |
| ^ | |
| ; | |
148 | void ecs_strbuf_list_next( | |
| ~~~~ | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:148:6: error: conflicting types for ‘ecs_strbuf_list_next’ | |
148 | void ecs_strbuf_list_next( | |
| ^~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:45, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/strbuf.h:150:6: note: previous declaration of ‘ecs_strbuf_list_next’ was here | |
150 | void ecs_strbuf_list_next( | |
| ^~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:6, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:152:18: error: expected ‘;’ before ‘_Bool’ | |
152 | FLECS_UTIL_EXPORT | |
| ^ | |
| ; | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:153:6: error: conflicting types for ‘ecs_strbuf_list_append’ | |
153 | bool ecs_strbuf_list_append( | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:45, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/strbuf.h:155:6: note: previous declaration of ‘ecs_strbuf_list_append’ was here | |
155 | bool ecs_strbuf_list_append( | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/src/flecs-util/include/flecs_util.h:6, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:3: | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:159:18: error: expected ‘;’ before ‘_Bool’ | |
159 | FLECS_UTIL_EXPORT | |
| ^ | |
| ; | |
/home/ckaos/bake/src/flecs-util/include/flecs-util/strbuf.h:160:6: error: conflicting types for ‘ecs_strbuf_list_appendstr’ | |
160 | bool ecs_strbuf_list_appendstr( | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:45, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/strbuf.h:162:6: note: previous declaration of ‘ecs_strbuf_list_appendstr’ was here | |
162 | bool ecs_strbuf_list_appendstr( | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/ckaos/bake/src/flecs-util/src/ringbuf.c:11:11: error: unknown type name ‘ecs_vector_params_t’ | |
11 | const ecs_vector_params_t *params, | |
| ^~~~~~~~~~~~~~~~~~~ | |
/home/ckaos/bake/src/flecs-util/src/ringbuf.c:24:11: error: unknown type name ‘ecs_vector_params_t’ | |
24 | const ecs_vector_params_t *params) | |
| ^~~~~~~~~~~~~~~~~~~ | |
/home/ckaos/bake/src/flecs-util/src/ringbuf.c: In function ‘ecs_ringbuf_push’: | |
/home/ckaos/bake/src/flecs-util/src/ringbuf.c:30:15: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] | |
30 | if (count == buffer->index) { | |
| ^~ | |
In file included from /home/ckaos/bake/include/flecs.h:40, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/include/flecs/private/vector.h:120:9: error: expected expression before ‘)’ token | |
120 | ((T*)_ecs_vector_add(vector, ECS_VECTOR_T(T))) | |
| ^ | |
/home/ckaos/bake/src/flecs-util/src/ringbuf.c:31:18: note: in expansion of macro ‘ecs_vector_add’ | |
31 | result = ecs_vector_add(&buffer->data, params); | |
| ^~~~~~~~~~~~~~ | |
/home/ckaos/bake/include/flecs/private/vector.h:146:9: error: expected expression before ‘)’ token | |
146 | ((T*)_ecs_vector_get(vector, ECS_VECTOR_T(T), index)) | |
| ^ | |
/home/ckaos/bake/src/flecs-util/src/ringbuf.c:33:18: note: in expansion of macro ‘ecs_vector_get’ | |
33 | result = ecs_vector_get(buffer->data, params, buffer->index); | |
| ^~~~~~~~~~~~~~ | |
/home/ckaos/bake/src/flecs-util/src/ringbuf.c: At top level: | |
/home/ckaos/bake/src/flecs-util/src/ringbuf.c:50:11: error: unknown type name ‘ecs_vector_params_t’ | |
50 | const ecs_vector_params_t *params, | |
| ^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:40, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/src/flecs-util/src/ringbuf.c: In function ‘ecs_ringbuf_get’: | |
/home/ckaos/bake/include/flecs/private/vector.h:146:9: error: expected expression before ‘)’ token | |
146 | ((T*)_ecs_vector_get(vector, ECS_VECTOR_T(T), index)) | |
| ^ | |
/home/ckaos/bake/src/flecs-util/src/ringbuf.c:56:12: note: in expansion of macro ‘ecs_vector_get’ | |
56 | return ecs_vector_get(buffer->data, params, index); | |
| ^~~~~~~~~~~~~~ | |
/home/ckaos/bake/src/flecs-util/src/ringbuf.c: At top level: | |
/home/ckaos/bake/src/flecs-util/src/ringbuf.c:61:11: error: unknown type name ‘ecs_vector_params_t’ | |
61 | const ecs_vector_params_t *params) | |
| ^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/ckaos/bake/include/flecs.h:40, | |
from /home/ckaos/bake/src/flecs-util/src/ringbuf.c:2: | |
/home/ckaos/bake/src/flecs-util/src/ringbuf.c: In function ‘ecs_ringbuf_last’: | |
/home/ckaos/bake/include/flecs/private/vector.h:146:9: error: expected expression before ‘)’ token | |
146 | ((T*)_ecs_vector_get(vector, ECS_VECTOR_T(T), index)) | |
| ^ | |
/home/ckaos/bake/src/flecs-util/src/ringbuf.c:68:12: note: in expansion of macro ‘ecs_vector_get’ | |
68 | return ecs_vector_get(buffer->data, params, index - 1); | |
| ^~~~~~~~~~~~~~ | |
/home/ckaos/bake/src/flecs-util/src/ringbuf.c: In function ‘ecs_ringbuf_get’: | |
/home/ckaos/bake/src/flecs-util/src/ringbuf.c:57:1: warning: control reaches end of non-void function [-Wreturn-type] | |
57 | } | |
| ^ | |
/home/ckaos/bake/src/flecs-util/src/ringbuf.c: In function ‘ecs_ringbuf_last’: | |
/home/ckaos/bake/src/flecs-util/src/ringbuf.c:69:1: warning: control reaches end of non-void function [-Wreturn-type] | |
69 | } | |
| ^ | |
[ error] process 159721 exited with returncode 1 | |
[ from] command returned 1 | |
gcc -fPIC -fvisibility=hidden -fno-stack-protector -g -O0 -std=c99 -D_XOPEN_SOURCE=600 -Wall -W -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D__BAKE__ -D__BAKE__ -DBAKE_PROJECT_ID="flecs.util" -Dflecs_util_EXPORTS -I/home/ckaos/bake/src/flecs-util/include -I /home/ckaos/bake/include -c /home/ckaos/bake/src/flecs-util/src/ringbuf.c -o /home/ckaos/bake/src/flecs-util/.bake_cache/x64-Linux-debug/obj/ringbuf.o | |
[ from] command for task 'ringbuf.c' failed | |
[ from] dependency 'objects' failed | |
[ from] failed to build rule 'ARTEFACT' | |
[ error] build interrupted for flecs.util in /home/ckaos/bake/src/flecs-util | |
[ error] project 'flecs.util' built with errors, skipping | |
[ build] package flecs.components.graphics => '/home/ckaos/bake/src/flecs-components-graphics' | |
[ build] package flecs.components.http => '/home/ckaos/bake/src/flecs-components-http' | |
[ build] package flecs.components.transform => '/home/ckaos/dev/experiments/flecs/flecs-components-transform' | |
[ build] package flecs.components.geometry => '/home/ckaos/bake/src/flecs-components-geometry' | |
[ build] package flecs.components.gui => '/home/ckaos/bake/src/flecs-components-gui' | |
[ build] package flecs.components.input => '/home/ckaos/bake/src/flecs-components-input' | |
[ build] package flecs.components.physics => '/home/ckaos/bake/src/flecs-components-physics' | |
[ build] package flecs.systems.civetweb => '/home/ckaos/bake/src/flecs-systems-civetweb' | |
[ build] package flecs.systems.sdl2 => '/home/ckaos/bake/src/flecs-systems-sdl2' | |
[ build] package flecs.systems.physics => '/home/ckaos/bake/src/flecs-systems-physics' | |
[ error] project dependency graph contains cycles (14 built vs 16 total) | |
[ error] process 159720 exited with returncode -1 | |
[ from] failed to build 'ecs_collisions' | |
[ error] build failed, cannot run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment