Aldo Calpini wrote:
> it should be possible to use cygwin's gcc but I haven't played with it
> very much. if you want to test it, you're very welcome.
> you need to download the Perl source and compile it under your
> cygwin environment, then try to compile the module.

Aldo,
i'm still trying to fool around with cygwin and mingw,
but at first have to build a new mingw-perl 5.6.1, because with this 
it will be much easier. (it can use the msvc headers and libs, and 
not the cygwin/w32api)
but at first I have the solve the current cygwin perl-5.6.1-1 problem with
gdbm.

some notes:
ctl3d.h will not work.
I added a lot of PL_ prefixes so far, but it's still not ready.
gcc is MUCH stricter than cl, it barfs with a lot of errors so far.
and some constants are still not defined in the cygwin w32api.

sample:
GUI.xs: In function `void DrawSplitter(HWND__ *)':
GUI.xs:734: ANSI C++ forbids implicit conversion from `void *' in assignment
GUI.xs:735: ANSI C++ forbids implicit conversion from `void *' in assignment
GUI.xs: In function `LRESULT InteractiveGraphicMsgLoop(HWND__ *, unsigned int,
u
nsigned int, long int)':
GUI.xs:1710: warning: negative value `-1' passed as argument 3 of
`PostMessageA(
HWND__ *, unsigned int, unsigned int, long int)'
GUI.xs: In function `LRESULT WindowMsgLoop(HWND__ *, unsigned int, unsigned
int,
 long int)':
GUI.xs:1829: warning: NULL used in arithmetic
GUI.xs:1843: warning: NULL used in arithmetic
GUI.xs:2646: warning: NULL used in arithmetic
GUI.xs:2676: warning: negative value `-1' passed as argument 3 of
`PostMessageA(
HWND__ *, unsigned int, unsigned int, long int)'
GUI.xs: In function `LRESULT MsgLoop(HWND__ *, unsigned int, unsigned int,
long
int)':
GUI.xs:2724: warning: NULL used in arithmetic
GUI.xs:2794: warning: negative value `-1' passed as argument 3 of
`PostMessageA(
HWND__ *, unsigned int, unsigned int, long int)'
GUI.xs: In function `void ParseWindowOptions(SV **, SV **, long int, long int,
i
nt, tagPERLCREATESTRUCT *)':
GUI.xs:3100: `SS_PATHELLIPSIS' undeclared (first use this function)
GUI.xs:3101: `SS_ENDELLIPSIS' undeclared (first use this function)
...
-- 
Reini Urban
http://xarch.tu-graz.ac.at/autocad/news/faq/autolisp.html

Reply via email to