[GCC-XML](no subject)
Brad King
brad.king at kitware.com
Thu Jul 24 10:05:30 EDT 2003
> class AuthDialog
> {
> public:
> AuthDialog();
> virtual ~AuthDialog();
> int DoDialog();
> TCHAR m_passwd[256];
> static BOOL CALLBACK DlgProc( HWND hwndDlg, UINT uMsg,
> WPARAM wParam, LPARAM lParam );
> };
[snip]
> C:\Program Files\GCC_XML> gccxml vnc.h -fxml=test.xml
> vnc.h:34: parse error before `[' token
> vnc.h:35: ISO C++ forbids declaration of `BOOL' with no type
> vnc.h:35: parse error before `DlgProc'
BOOL is not a predefined C or C++ data type. You have to
#include<windows.h> to get it. Your header does not do this.
-Brad
More information about the gccxml
mailing list