Re: [Mingw-users] Using dbghelp.dll - problems with dbghelp.h
- Date: Thu, 10 Apr 2008 17:42:00 -0600
- From: "Doug Borter" <dougborter@xxxxxxxxx>
- Subject: Re: [Mingw-users] Using dbghelp.dll - problems with dbghelp.h
On Thu, Apr 10, 2008 at 7:59 AM, <mingw-users-request@xxxxxxxxxxxxxxxxxxxxx> wrote:
Can't you show us the exact gcc messages and the corresponding lines in
the file?
Brian
Hi Brian,
I discovered that g++ handles the code much better than gcc.
Here's the compiler output:
$ g++ -c debug.c
In file included from debug.c:8:
dbghelp.h:1749: error: `__out_bcount_opt' has not been declared
dbghelp.h:1749: error: expected `,' or `...' before "PVOID"
dbghelp.h:1751: error: ISO C++ forbids declaration of `Size' with no type
dbghelp.h:2832: error: `__in_bcount_opt' has not been declared
dbghelp.h:2832: error: expected `,' or `...' before "PBYTE"
dbghelp.h:2834: error: ISO C++ forbids declaration of `Size' with no type
dbghelp.h:2844: error: `__in_bcount_opt' has not been declared
dbghelp.h:2844: error: expected `,' or `...' before "PBYTE"
dbghelp.h:2846: error: ISO C++ forbids declaration of `Size' with no type
dbghelp.h:2856: error: `__in_bcount_opt' has not been declared
dbghelp.h:2856: error: expected `,' or `...' before "PBYTE"
dbghelp.h:2858: error: ISO C++ forbids declaration of `Size' with no type
debug.c: In function `int getDebugInfo(char*)':
debug.c:110: error: invalid conversion from `void*' to `unsigned int*'
debug.c:111: error: invalid conversion from `void*' to `char*'
debug.c:112: error: invalid conversion from `void*' to `Sym*'
debug.c:165: error: invalid conversion from `BOOL (*)(TCHAR*, ULONG, ULONG, void*)' to `BOOL (*)(const CHAR*, ULONG, ULONG, void*)'
debug.c:165: error: initializing argument 3 of `BOOL SymEnumerateSymbols(void*, ULONG, BOOL (*)(const CHAR*, ULONG, ULONG, void*), void*)'
Thanks!
Doug
------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________ MinGW-users mailing list MinGW-users@xxxxxxxxxxxxxxxxxxxxx You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge.net/lists/listinfo/mingw-users
- Follow-Ups:
- Re: [Mingw-users] Using dbghelp.dll - problems with dbghelp.h
- From: Erik de Castro Lopo
- Re: [Mingw-users] Using dbghelp.dll - problems with dbghelp.h
- From: Brian Dessent
- Re: [Mingw-users] Using dbghelp.dll - problems with dbghelp.h
- Prev by Date: Re: [Mingw-users] The win32 aAPI programming
- Next by Date: Re: [Mingw-users] Using dbghelp.dll - problems with dbghelp.h
- Previous by thread: [Mingw-users] rtos-32 and mingw
- Next by thread: Re: [Mingw-users] Using dbghelp.dll - problems with dbghelp.h
- Index(es):