Discussion:
unknown
1970-01-01 00:00:00 UTC
Permalink
Can't say much about IDEs for Windows, the only one I'm familiar with is
MSVC 6 (and I've never tried to use it for Pipmak). There's also the
cross-platform ones like Eclipse and Code Blocks that I assume should be
able to work together with the Mingw GCC.
2 - I then installed TortoiseSVN, downloaded the latest trunk, started
working on the compile (still using MinGW 3.3.1). Haven't gotten to the
linking yet, but I've been able to compile most of the pipmak files.
However, I've been stalled all night with a compiler error in the
pipmak_windows.c file: It doesn't seem to like 'DWORD (-1)'. My C is a
little rusty, but I'm not sure how I'm supposed to interpret that. Could
this be a Linux/Mac convention I need to change? I'm still assessing the
magnitude of the conversion process to a native Windows build.
____________________________
#include <windows.h>
void test(void) {
int attr = DWORD (-1);
}
_____________________________
"error: parse error before "DWORD"
I don't see the expression "DWORD (-1)" anywhere in pipmak_windows.c,
but anyway: it looks like you're trying to compile C++ code as C. In
C++, type(value) is a valid cast, while in C it needs to be (type)value.
Can you try with (DWORD)(-1)?

-Christian

Loading...