[GCC-XML](no subject)

ambarshukla ambarshukla at indiatimes.com
Thu Jul 24 23:37:03 EDT 2003


Dear Brad,


Sincere thanks for your quick reply. The problem i had has been solved.


However, now that i #include<windows.h> , the XML specification for such a small class becomes HUGE, because windows.h itself #includes so many other headers.


Is there any way to selectively expand header files (Say, in this case i want only the contents of the windows.h file and not other files that windows.h includes) ?


 


Thanks a lot again for your quick reply.


 


Sincerely,


~ Ambar Shukla.


 


> 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

Get Your Private, Free E-mail from Indiatimes at  http://email.indiatimes.com
Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com
Bid for Air Tickets on Air Sahara Flights at Prices Lower Than Before. Just log on to http://airsahara.indiatimes.com and Bid Now !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/gccxml/attachments/20030725/2c179b96/attachment.html>


More information about the gccxml mailing list