Open
Description
Trying to install potion on Cygwin64. I've installed the following packages:
- gcc-core
- git
- libsqlite3_0
- make
- mingw64-i686-gcc-core
- mingw64-i686-gcc-g++
I run "make install" from the potion directory and get the following:
$ make install
Makefile:245: warning: ignoring prerequisites on suffix rule definition
Makefile:238: warning: ignoring prerequisites on suffix rule definition
Makefile:245: warning: ignoring prerequisites on suffix rule definition
Makefile:249: warning: ignoring prerequisites on suffix rule definition
Makefile:257: warning: ignoring prerequisites on suffix rule definition
Makefile:257: warning: ignoring prerequisites on suffix rule definition
Makefile:257: warning: ignoring prerequisites on suffix rule definition
Makefile:257: warning: ignoring prerequisites on suffix rule definition
Makefile:245: warning: ignoring prerequisites on suffix rule definition
Makefile:238: warning: ignoring prerequisites on suffix rule definition
Makefile:245: warning: ignoring prerequisites on suffix rule definition
Makefile:249: warning: ignoring prerequisites on suffix rule definition
CC core/potion.opic -O0
In file included from core/potion.c:14:
core/potion.h:240:15: error: operator '==' has no left operand
240 | #if PN_SIZE_T == 4
| ^~
core/potion.h:437:15: error: operator '!=' has no left operand
437 | #if PN_SIZE_T != 8
| ^~
core/potion.h: In function ‘potion_gc_update’:
core/potion.h:735:45: error: expected expression before ‘,’ token
735 | potion_garbagecollect(P, POTION_PAGESIZE, 0);
| ^
In file included from core/potion.c:15:
core/internal.h: At top level:
core/internal.h:94:15: error: operator '==' has no left operand
94 | #if PN_SIZE_T == 8
| ^~
core/internal.h:131:22: error: operator '>' has no left operand
131 | #if POTION_STACK_DIR > 0
| ^
core/internal.h:133:24: error: operator '<' has no left operand
133 | #elif POTION_STACK_DIR < 0
| ^
make: *** [Makefile:184: core/potion.opic] Error 1
Activity