Skip to content

should this still compile under win32 mingw? #23

@therock247uk

Description

@therock247uk

It does not on my mingw installation...

therock247uk@dell-PC /c/users/therock247uk/desktop/libmowgli-2-master/libmowgli-
2-master
$ dir
AUTHORS autogen.sh config.status extra.mk.in src
BSDmakefile buildsys.mk config.sub install-sh uncrustify.cfg
COPYING buildsys.mk.in configure libmowgli-2.pc
GIT-Access config.guess configure.ac libmowgli-2.pc.in
Makefile config.log doc m4
README config.rpath extra.mk scripts

therock247uk@dell-PC /c/users/therock247uk/desktop/libmowgli-2-master/libmowgli-
2-master
$ make
CompileExe: bootstrap.o
In file included from c:\users\therock247uk\desktop\mingw\lib\gcc\mingw32\4.8.1
include\stdint.h:9:0,
from ../core/stdinc.h:39,
from ../mowgli.h:40,
from bootstrap.c:24:
c:\users\therock247uk\desktop\mingw\include\stdint.h:39:21: error: conflicting t
ypes for 'int8_t'
typedef signed char int8_t;
^
In file included from C:/Users/therock247uk/Desktop/mingw/msys/1.0/include/time.
h:32:0,
from ../core/stdinc.h:33,
from ../mowgli.h:40,
from bootstrap.c:24:
C:/Users/therock247uk/Desktop/mingw/msys/1.0/include/sys/types.h:106:14: note: p
revious declaration of 'int8_t' was here
typedef char int8_t;
^
In file included from ../mowgli.h:40:0,
from bootstrap.c:24:
../core/stdinc.h:59:0: warning: "WINVER" redefined [enabled by default]

define WINVER 0x0501

^
In file included from c:\users\therock247uk\desktop\mingw\include_mingw.h:35:0,

             from c:\users\therock247uk\desktop\mingw\include\stdint.h:28,
             from c:\users\therock247uk\desktop\mingw\lib\gcc\mingw32\4.8.1\

include\stdint.h:9,
from ../core/stdinc.h:39,
from ../mowgli.h:40,
from bootstrap.c:24:
c:\users\therock247uk\desktop\mingw\include\sdkddkver.h:159:0: note: this is the
location of the previous definition

define WINVER _WIN32_WINNT

^
In file included from ../core/stdinc.h:62:0,
from ../mowgli.h:40,
from bootstrap.c:24:
c:\users\therock247uk\desktop\mingw\include\winsock2.h:132:2: warning: #warning
"fd_set and associated macros have been defined in sys/types. This may caus
e runtime problems with W32 sockets" [-Wcpp]
#warning "fd_set and associated macros have been defined in sys/types.
^
In file included from C:/Users/therock247uk/Desktop/mingw/msys/1.0/include/stdio
.h:32:0,
from ../core/stdinc.h:28,
from ../mowgli.h:40,
from bootstrap.c:24:
C:/Users/therock247uk/Desktop/mingw/msys/1.0/include/sys/time.h:73:55: warning:
'struct timezone' declared inside parameter list [enabled by default]
int _EXFUN(gettimeofday, (struct timeval ___p, struct timezone *__z));
^
C:/Users/therock247uk/Desktop/mingw/msys/1.0/include/_ansi.h:38:35: note: in def
inition of macro '_EXFUN'
#define _EXFUN(name, proto) name proto
^
C:/Users/therock247uk/Desktop/mingw/msys/1.0/include/sys/time.h:73:55: warning:
its scope is only this definition or declaration, which is probably not what you
want [enabled by default]
int _EXFUN(gettimeofday, (struct timeval *__p, struct timezone *__z));
^
C:/Users/therock247uk/Desktop/mingw/msys/1.0/include/_ansi.h:38:35: note: in def
inition of macro '_EXFUN'
#define _EXFUN(name, proto) name proto
^
C:/Users/therock247uk/Desktop/mingw/msys/1.0/include/sys/time.h:74:64: warning:
'struct timezone' declared inside parameter list [enabled by default]
int _EXFUN(settimeofday, (const struct timeval *, const struct timezone *));
^
C:/Users/therock247uk/Desktop/mingw/msys/1.0/include/_ansi.h:38:35: note: in def
inition of macro '_EXFUN'
#define EXFUN(name, proto) name proto
^
In file included from ../mowgli.h:83:0,
from bootstrap.c:24:
../eventloop/eventloop.h: In function 'mowgli_eventloop_synchronize':
../eventloop/eventloop.h:223:19: warning: assignment from incompatible pointer t
ype [enabled by default]
GetTickCount64 = GetProcAddress(hKernel32, "GetTickCount64");
^
make[3]: *
* [bootstrap.o] Error 1
make[2]: *** [core] Error 2
make[1]: *** [libmowgli] Error 2
make: *** [src] Error 2

therock247uk@dell-PC /c/users/therock247uk/desktop/libmowgli-2-master/libmowgli-
2-master
$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions