From: Grzegorz J. <ja...@he...> - 2004-04-22 05:08:53
|
On Tue, 20 Apr 2004, Russell Balest wrote: > > I'm trying to figure out if opencxx is suitable for the following task: > > I want to utilize opencxx to translate existing C++ class definitions > ( plus an opencxx annotation such as "metaclass Serializable") to C++ > code and then compile with g++ in the end. In the process of > translation I want to generate 'serialize' or 'marshall' methods on my > "Serializable" classes. Very similar to what you get in Java when you > declare that a class implements serializable. > Has anyone done this? I think I can recall somebody talking about it on this list. You may want to search archives. > Does this sound like something that opencxx can do? Yes. > In particular, I must compile the transformed code with g++ as > I'm part of a larger build process that I don't control. > > I get the impression that opencxx doesn't actually emit translated > code that can then be compiled with g++. Where does this impression come from? > Am I wrong about that? The code emitted by occ should compile fine with g++. If you find otherwise, please report it here. BR Grzegorz > Thanks for any information or examples, > Russell Balest > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Opencxx-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opencxx-users > > ################################################################## # Grzegorz Jakacki Huada Electronic Design # # Senior Engineer, CAD Dept. 1 Gaojiayuan, Chaoyang # # tel. +86-10-64365577 x2074 Beijing 100015, China # # Copyright (C) 2004 Grzegorz Jakacki, HED. All Rights Reserved. # ################################################################## |