[GCC-XML](no subject)

ambarshukla ambarshukla at indiatimes.com
Thu Jul 24 09:35:33 EDT 2003


I am trying to use GCCXML and am working to a very strict deadline. When i ran the utility on a simple .h file, i got a few errors. Please help me resolve the same.


 


---------------------------


The header file


------------------------


class AuthDialog  
{
public:
 AuthDialog();
 virtual ~AuthDialog();
 int DoDialog();
 TCHAR m_passwd[256];
 static BOOL CALLBACK DlgProc(  HWND hwndDlg,  UINT uMsg, 
  WPARAM wParam, LPARAM lParam );
};



 


----------------------------------------


contents of config file


----------------------------------------


 


GCCXML_COMPILER="cl"
GCCXML_CXXFLAGS="/nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /Fp"Debug/tempproj.pch" /Yu"stdafx.h" /Fo"Debug/" /Fd"Debug/" /FD /GZ /c"



(FLags taken from VC6 IDE)


 


----------------------------------------


My command line session


----------------------------------------


 


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'


C:\Program Files\GCC_XML>


 


------------------------------------------


My directory structure


-------------------------------------------


GCCXML (Root)


-------------> vc6  -------------> include


-------------> vc7  -------------> include


 


 


-----------------------------------------------------------------------------


 


Can you please guide me about where i am going wrong?


 


Thank you very much,


Ambar Shukla.
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/20030724/62e77bc8/attachment.html>


More information about the gccxml mailing list