[prev in list] [next in list] [prev in thread] [next in thread]
List: mingw-users
Subject: [Mingw-users] `LONG' does not name a type
From: jedni22 <jedni80 () yahoo ! de>
Date: 2008-01-20 13:00:05
Message-ID: 14981476.post () talk ! nabble ! com
[Download RAW message or body]
Hi,
I have ubuntu with mingw32 cross compiler installed. I get those errors when
i try to compile my project:
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/ntdef.h:28:
error: `LONG' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/ntdef.h:30:
error: `USHORT' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/ntdef.h:31:
error: `USHORT' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/ntdef.h:32:
error: `PWSTR' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/ntdef.h:36:
error: `USHORT' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/ntdef.h:37:
error: `USHORT' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/ntdef.h:38:
error: `PCHAR' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/ntdef.h:45:
error: `LARGE_INTEGER' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/ntdef.h:52:
error: `ULONG' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/ntdef.h:53:
error: `HANDLE' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/ntdef.h:55:
error: `ULONG' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/ntdef.h:56:
error: `PVOID' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/ntdef.h:57:
error: `PVOID' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:21:
error: `ULONG' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:22:
error: `SYSTEM_POWER_STATE' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:23:
error: `SYSTEM_POWER_STATE' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:24:
error: `ULONG' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:27:
error: `ULONG' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:28:
error: `POWER_ACTION_POLICY' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:29:
error: `POWER_ACTION_POLICY' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:30:
error: `POWER_ACTION_POLICY' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:31:
error: `POWER_ACTION_POLICY' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:32:
error: `POWER_ACTION_POLICY' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:33:
error: `POWER_ACTION_POLICY' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:34:
error: `SYSTEM_POWER_LEVEL' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:35:
error: `ULONG' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:42:
error: `ULONG' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:43:
error: `SYSTEM_POWER_STATE' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:44:
error: `SYSTEM_POWER_STATE' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:45:
error: `SYSTEM_POWER_STATE' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:46:
error: `SYSTEM_POWER_STATE' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:47:
error: `ULONG' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:48:
error: `ULONG' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:49:
error: `ULONG' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:50:
error: `ULONG' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:51:
error: `UCHAR' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:52:
error: `UCHAR' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:53:
error: `UCHAR' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:54:
error: `POWER_ACTION_POLICY' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:55:
error: `POWER_ACTION_POLICY' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:58:
error: `ULONG' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:59:
error: `PROCESSOR_POWER_POLICY' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:60:
error: `PROCESSOR_POWER_POLICY' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:63:
error: `ULONG' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:64:
error: `POWER_ACTION_POLICY' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:65:
error: `POWER_ACTION_POLICY' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:66:
error: `ULONG' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:67:
error: `ULONG' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:68:
error: `UCHAR' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:69:
error: `UCHAR' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:70:
error: `UCHAR' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:71:
error: `UCHAR' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:72:
error: `SYSTEM_POWER_STATE' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:73:
error: `SYSTEM_POWER_STATE' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:74:
error: `ULONG' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:75:
error: `ULONG' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:76:
error: `ULONG' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:77:
error: `ULONG' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:78:
error: `ULONG' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:79:
error: `BOOLEAN' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:80:
error: `BOOLEAN' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:81:
error: `UCHAR' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:82:
error: `UCHAR' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:83:
error: `UCHAR' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:84:
error: `UCHAR' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:90:
error: typedef `BOOLEAN' is initialized (use __typeof__ instead)
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:90:
error: `CALLBACK' was not declared in this scope
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:90:
error: `PWRSCHEMESENUMPROC' was not declared in this scope
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:90:
error: expected `,' or `;' before '(' token
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:91:
error: expected `)' before '*' token
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:91:
error: expected `,' or `;' before '*' token
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:92:
error: `NTSTATUS' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:93:
error: `WINAPI' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:94:
error: `WINAPI' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:95:
error: `WINAPI' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:96:
error: `WINAPI' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:97:
error: `WINAPI' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:98:
error: `WINAPI' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:99:
error: `WINAPI' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:100:
error: `WINAPI' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:101:
error: `WINAPI' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:102:
error: `WINAPI' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:103:
error: `WINAPI' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:104:
error: `WINAPI' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:105:
error: `WINAPI' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:106:
error: `WINAPI' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:107:
error: `WINAPI' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:108:
error: `WINAPI' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:109:
error: `WINAPI' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:110:
error: `WINAPI' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:111:
error: `WINAPI' does not name a type
/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/powrprof.h:112:
error: `WINAPI' does not name a type
Can help me to correct those errors?
Many thanks.
--
View this message in context: \
http://www.nabble.com/%60LONG%27-does-not-name-a-type-tp14981476p14981476.html Sent \
from the MinGW - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic