[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mingw build of octave
From: |
Paul Thomas |
Subject: |
Mingw build of octave |
Date: |
Tue, 10 Aug 2004 08:33:49 +0200 |
Paul,
Having all the sources for bits and pieces like readline to hand, from a
Tru64 build, I gave Mingw a whirl.
g++ bombs out in compiling pathsearch.cc -
$ g++ --version
g++.exe (GCC) 3.2.3 (mingw special 20030504-1)
Error message-
In file included from c:/mingw/include/windef.h:246,
from c:/mingw/include/windows.h:48,
from kpse.cc:47,
from pathsearch.cc:37:
c:/mingw/include/winnt.h:2503: semicolon missing after struct declaration
c:/mingw/include/winnt.h:2503: abstract declarator `
_IMAGE_AUX_SYMBOL::<anonymous struct>::<anonymous union>::<anonymous
struct>
' used as declaration
c:/mingw/include/winnt.h:2503: namespace-scope anonymous aggregates must be
static
kpse.cc:2155: warning: `void kpse_db_insert(const std::string&)' defined but
not used
kpse.cc:2362: warning: `void kpse_init_db()' defined but not used
The offending structure is below - seems to me that all the ;'s are there!
Still less am I inclined to mess with anonymous aggregates! Unless anybody
has any suggestions, I am going to leave this one for another day!
Paul T
typedef union _IMAGE_AUX_SYMBOL {
struct {
DWORD TagIndex;
union {
struct {
WORD Linenumber;
WORD Size;
} LnSz;
DWORD TotalSize;
} Misc;
union {
struct {
DWORD PointerToLinenumber;
DWORD PointerToNextFunction;
} Function;
struct {
WORD Dimension[4];
} Array;
} FcnAry;
WORD TvIndex;
} Sym;
struct {
BYTE Name[IMAGE_SIZEOF_SYMBOL];
} File;
struct {
DWORD Length;
WORD NumberOfRelocations;
WORD NumberOfLinenumbers;
DWORD CheckSum;
SHORT Number;
BYTE Selection;
} Section;
} IMAGE_AUX_SYMBOL,*PIMAGE_AUX_SYMBOL;
- Mingw build of octave,
Paul Thomas <=