[Doxygen-develop] Visual C++ 6, the latest CVS release, and CodeWarrior integration
Brought to you by:
dimitri
From: Simon G. <sim...@at...> - 2002-08-06 11:01:44
|
Hi Doxygenators, I just got the new CVS release and tried to compile it with VC++6 on Windoze2k, and got the following error messages when I ran the make.bat script: c:\dev\doxygen-1.2.17\src\ce_parse.cpp(337) : error C2620: union 'yyalloc' : member 'yyvs' has user-defined constructor or non-trivial default constructor c:\dev\doxygen-1.2.17\src\ce_parse.cpp(784) : error C2039: 'yyvs' : is not a member of 'yyalloc' c:\dev\doxygen-1.2.17\src\ce_parse.cpp(335) : see declaration of 'yyalloc' I worked around this by copying that source file from the previous doxygen release: cp ../doxygen-1.2.16/src/ce_parse.cpp src/ce_parse.cpp This got it to build from the command line. I don't know if I have broken anything by doing so but it seems superficially OK. Maybe a flex/bison devotee can explain what's going on? The ce_parse.cpp file is being generated automagically. It's also possible that the 'problem' is in Risible (sic) C++6. Has anyone else tried this recently? In any case, I needed to add the following to the project file to get it to build from the VC++6 IDE: src\docparser.cpp src\docparser.h src\doctokeniser.h src\doctokeniser.cpp src\cmdmapper.cpp src\cmdmapper.h I attach an updated DSP file which encapsulates these additions. Note that you still need to run 'make msvc' once from the command line before the IDE build will work. That's because VC++6 does not know how to parse the flex and bison files that generate some of the C source that needs to be compiled (and I don't know how to tell it to do so ;-). Once you've run that make once, you can build variants from the IDE as long as you have not changed any of the flex and bison data files. Cheers Simon Goodwin Technology Programmer, ATD P.S. if any of you have to use or support Metrowerks's CodeWarrior you may like to know a way to integrate Doxygenated helpfile documentation into their IDE (similar to the MSDNIntegrator for DevStudio - I have had no replies to my request for an equivalent for VC++7 (aka .NET), sadly). We have just persuaded Metrowerks to add support for third-party helpfiles and although it is not part of the release yet, it does work and we (ATD and Metrowerks) are looking for testers. Contact me if you'd like to know more. -- Simon Goodwin <sim...@at...> |