You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(9) |
Oct
(16) |
Nov
(14) |
Dec
(24) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(14) |
Feb
(57) |
Mar
(72) |
Apr
(37) |
May
(21) |
Jun
(12) |
Jul
(16) |
Aug
(33) |
Sep
(24) |
Oct
|
Nov
(10) |
Dec
(8) |
2004 |
Jan
(6) |
Feb
(14) |
Mar
(47) |
Apr
(41) |
May
(16) |
Jun
(31) |
Jul
(78) |
Aug
(62) |
Sep
(99) |
Oct
(43) |
Nov
(35) |
Dec
(9) |
2005 |
Jan
(19) |
Feb
(22) |
Mar
(7) |
Apr
|
May
(5) |
Jun
(4) |
Jul
(2) |
Aug
(9) |
Sep
(15) |
Oct
(23) |
Nov
(2) |
Dec
(20) |
2006 |
Jan
|
Feb
(2) |
Mar
(7) |
Apr
|
May
|
Jun
(8) |
Jul
(15) |
Aug
(1) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
(9) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(5) |
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(11) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Grzegorz J. <ja...@he...> - 2003-08-11 03:12:53
|
On Mon, 4 Aug 2003, yang qu wrote: > Hi! > I believe the problem comes from "Template Specilization". In the code > that I attached, the template class Buffer has a general declaration > and a specialized declaration. the class "IntBuffer" has two parents > classes. one is the specialized "Buffer", and another is the normal > class "TestObject". The occ failed when it detected that the two > parent classes have different Metaclass names, namely "TemplateClass" > and "Class". Yes. > should this bug be fixed somehow? Yes, but I don't see any quick fix. If you would like to get down to this I can advice where to look etc. Best regards Grzegorz > best regards > --yang > > --------------------------------- a simple test code ---------------------- > > class Mem{ > > public: > > virtual int name() =0; > > }; > > template<class C> class Buffer : virtual public Mem{ > > public: > > int name(){return 0;} > > C get(int); > > void set(C, int); > > int size(); > > private: > > C data[10]; > > }; > > > > template<> class Buffer<int>: virtual public Mem{ > > public: > > int name(){return 1;}; > > int get(int); > > void set(int,int); > > int size(); > > private: > > int data[10]; > > }; > > class BasicObject{ > > }; > > class TestObject : public BasicObject{ > > public: > > virtual int type(){return 1;} > > }; > > class IntBuffer : public Buffer<int>, public TestObject{ > > public: > > int type(){return 10;} > > }; > --------------------------------------------------- > > Grzegorz Jakacki <ja...@he...> wrote: > On Fri, 1 Aug 2003, yang qu wrote: > > > Hi! > > when I was applying the openc++ on a set of regular > > C++ codes that can be successfully compiled using > > gcc3.2, I got the following error message: "inherited > > metaclasses conflict: test_class". the "test_class" > > and all of its parents classes are regular C++ > > classes. No meta-level classes are defined in the > > codes. Could someone tells me what might cause the > > problem? > > Could you post the offending code (preferably stripped from irrelevant > details)? > > BR > Grzegorz > > > thank you in advance! > > best regards > > --yang > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! SiteBuilder - Free, easy-to-use web site design software > > http://sitebuilder.yahoo.com > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > 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) 2002 Grzegorz Jakacki, HED. All Rights Reserved. # > ################################################################## > > > > --------------------------------- > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software ################################################################## # Grzegorz Jakacki Huada Electronic Design # # Senior Engineer, CAD Dept. 1 Gaojiayuan, Chaoyang # # tel. +86-10-64365577 x2074 Beijing 100015, China # # Copyright (C) 2002 Grzegorz Jakacki, HED. All Rights Reserved. # ################################################################## |
From: Iwan B. <ib...@co...> - 2003-08-05 07:53:59
|
Thanks, that did id. Although I had to start a new shell (bash) first to be able to use the export command. Thanks a lot! Cheers Iwan > I am not sure what shell you are using, but with some shells (e.g. sh, > ksh, bash) you also need to "export" the variable: > > export LD_LIBRARY_PATH > > Does it help? > > BR > Grzegorz > > > > > Regards > > Iwan > > > > > > ----- Original Message ----- > > From: "Grzegorz Jakacki" <ja...@he...> > > To: "Iwan Birrer" <ib...@co...> > > Cc: <ope...@li...> > > Sent: Friday, August 01, 2003 2:26 AM > > Subject: Re: [Opencxx-users] Compiling under solaris > > > > > > > On Thu, 31 Jul 2003, Iwan Birrer wrote: > > > > > > > I gave it up trying to compile the source on windows and changed to > > unix. > > > > But unfortunately I was not succesful as well :-(( > > > > > > > > After invoking configure, the 'make' command outputs the following: > > > > > > > > ibirrer@tardis-b03:~/opencxx>make > > > > make all-recursive > > > > ... > > > > make: Fatal error in reader: Makefile.gc, line 351: Extra `:', `::', or > > `:=' > > > > on > > > > dependency line > > > > Current working directory /home/ibirrer/opencxx/gc > > > > ... > > > > > > > > - The unix System is running under solaris. > > > > - I use the actual CVS version. > > > > - Version 2.5.12 is compiling succesfully > > > > > > Looks like your make is not smart enough. Use GNU make (perhaps it lives > > > on your system as gmake; ./configure MAKE=gmake should do the trick). > > > > > > Best regards > > > Grzegorz > > > > > > > > > > > > > > > Thanks for any help! > > > > > > > > Iwan > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > > Download today and enter to win an XBOX or Visual Studio .NET. > > > > > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > > > _______________________________________________ > > > > 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) 2002 Grzegorz Jakacki, HED. All Rights Reserved. # > > > ################################################################## > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > Download today and enter to win an XBOX or Visual Studio .NET. > > > > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > > _______________________________________________ > > > Opencxx-users mailing list > > > Ope...@li... > > > https://lists.sourceforge.net/lists/listinfo/opencxx-users > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > 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) 2002 Grzegorz Jakacki, HED. All Rights Reserved. # > ################################################################## > |
From: Grzegorz J. <ja...@he...> - 2003-08-05 07:42:04
|
On Mon, 4 Aug 2003, Iwan Birrer wrote: > Thanks a lot! That did the job. Unfortunately I already have the next > problem... I tried to compile the samples with gmake as well but was not > succesful... The error message looks like that: > > ../src/occ -- -g -o person person.cc > lt_dlopen(VerboseClass-init.so) failed: ld.so.1: ../src/occ: fatal: > VerboseClass-init.so: open failed: No such file or directory > gmake: *** [person] Error 1 > > I have set the LD_LIBRARY_PATH variable to the sample directory with > > set LD_LIBRARY_PATH=/home/ibirrer/data/opencxx/sample I am not sure what shell you are using, but with some shells (e.g. sh, ksh, bash) you also need to "export" the variable: export LD_LIBRARY_PATH Does it help? BR Grzegorz > > Regards > Iwan > > > ----- Original Message ----- > From: "Grzegorz Jakacki" <ja...@he...> > To: "Iwan Birrer" <ib...@co...> > Cc: <ope...@li...> > Sent: Friday, August 01, 2003 2:26 AM > Subject: Re: [Opencxx-users] Compiling under solaris > > > > On Thu, 31 Jul 2003, Iwan Birrer wrote: > > > > > I gave it up trying to compile the source on windows and changed to > unix. > > > But unfortunately I was not succesful as well :-(( > > > > > > After invoking configure, the 'make' command outputs the following: > > > > > > ibirrer@tardis-b03:~/opencxx>make > > > make all-recursive > > > ... > > > make: Fatal error in reader: Makefile.gc, line 351: Extra `:', `::', or > `:=' > > > on > > > dependency line > > > Current working directory /home/ibirrer/opencxx/gc > > > ... > > > > > > - The unix System is running under solaris. > > > - I use the actual CVS version. > > > - Version 2.5.12 is compiling succesfully > > > > Looks like your make is not smart enough. Use GNU make (perhaps it lives > > on your system as gmake; ./configure MAKE=gmake should do the trick). > > > > Best regards > > Grzegorz > > > > > > > > > > > Thanks for any help! > > > > > > Iwan > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > Download today and enter to win an XBOX or Visual Studio .NET. > > > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > > _______________________________________________ > > > 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) 2002 Grzegorz Jakacki, HED. All Rights Reserved. # > > ################################################################## > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Opencxx-users mailing list > > Ope...@li... > > https://lists.sourceforge.net/lists/listinfo/opencxx-users > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > 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) 2002 Grzegorz Jakacki, HED. All Rights Reserved. # ################################################################## |
From: yang qu <qu...@ya...> - 2003-08-04 14:33:33
|
Hi! I believe the problem comes from "Template Specilization". In the code that I attached, the template class Buffer has a general declaration and a specialized declaration. the class "IntBuffer" has two parents classes. one is the specialized "Buffer", and another is the normal class "TestObject". The occ failed when it detected that the two parent classes have different Metaclass names, namely "TemplateClass" and "Class". should this bug be fixed somehow? best regards --yang --------------------------------- a simple test code ---------------------- class Mem{ public: virtual int name() =0; }; template<class C> class Buffer : virtual public Mem{ public: int name(){return 0;} C get(int); void set(C, int); int size(); private: C data[10]; }; template<> class Buffer<int>: virtual public Mem{ public: int name(){return 1;}; int get(int); void set(int,int); int size(); private: int data[10]; }; class BasicObject{ }; class TestObject : public BasicObject{ public: virtual int type(){return 1;} }; class IntBuffer : public Buffer<int>, public TestObject{ public: int type(){return 10;} }; --------------------------------------------------- Grzegorz Jakacki <ja...@he...> wrote: On Fri, 1 Aug 2003, yang qu wrote: > Hi! > when I was applying the openc++ on a set of regular > C++ codes that can be successfully compiled using > gcc3.2, I got the following error message: "inherited > metaclasses conflict: test_class". the "test_class" > and all of its parents classes are regular C++ > classes. No meta-level classes are defined in the > codes. Could someone tells me what might cause the > problem? Could you post the offending code (preferably stripped from irrelevant details)? BR Grzegorz > thank you in advance! > best regards > --yang > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > 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) 2002 Grzegorz Jakacki, HED. All Rights Reserved. # ################################################################## --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software |
From: Iwan B. <ib...@co...> - 2003-08-04 09:28:16
|
Thanks a lot! That did the job. Unfortunately I already have the next problem... I tried to compile the samples with gmake as well but was not succesful... The error message looks like that: ../src/occ -- -g -o person person.cc lt_dlopen(VerboseClass-init.so) failed: ld.so.1: ../src/occ: fatal: VerboseClass-init.so: open failed: No such file or directory gmake: *** [person] Error 1 I have set the LD_LIBRARY_PATH variable to the sample directory with set LD_LIBRARY_PATH=/home/ibirrer/data/opencxx/sample Regards Iwan ----- Original Message ----- From: "Grzegorz Jakacki" <ja...@he...> To: "Iwan Birrer" <ib...@co...> Cc: <ope...@li...> Sent: Friday, August 01, 2003 2:26 AM Subject: Re: [Opencxx-users] Compiling under solaris > On Thu, 31 Jul 2003, Iwan Birrer wrote: > > > I gave it up trying to compile the source on windows and changed to unix. > > But unfortunately I was not succesful as well :-(( > > > > After invoking configure, the 'make' command outputs the following: > > > > ibirrer@tardis-b03:~/opencxx>make > > make all-recursive > > ... > > make: Fatal error in reader: Makefile.gc, line 351: Extra `:', `::', or `:=' > > on > > dependency line > > Current working directory /home/ibirrer/opencxx/gc > > ... > > > > - The unix System is running under solaris. > > - I use the actual CVS version. > > - Version 2.5.12 is compiling succesfully > > Looks like your make is not smart enough. Use GNU make (perhaps it lives > on your system as gmake; ./configure MAKE=gmake should do the trick). > > Best regards > Grzegorz > > > > > > > Thanks for any help! > > > > Iwan > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > 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) 2002 Grzegorz Jakacki, HED. All Rights Reserved. # > ################################################################## > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Opencxx-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opencxx-users > |
From: Grzegorz J. <ja...@he...> - 2003-08-04 05:22:41
|
On Fri, 1 Aug 2003, yang qu wrote: > Hi! > when I was applying the openc++ on a set of regular > C++ codes that can be successfully compiled using > gcc3.2, I got the following error message: "inherited > metaclasses conflict: test_class". the "test_class" > and all of its parents classes are regular C++ > classes. No meta-level classes are defined in the > codes. Could someone tells me what might cause the > problem? Could you post the offending code (preferably stripped from irrelevant details)? BR Grzegorz > thank you in advance! > best regards > --yang > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > 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) 2002 Grzegorz Jakacki, HED. All Rights Reserved. # ################################################################## |
From: yang qu <qu...@ya...> - 2003-08-01 23:12:39
|
Hi! when I was applying the openc++ on a set of regular C++ codes that can be successfully compiled using gcc3.2, I got the following error message: "inherited metaclasses conflict: test_class". the "test_class" and all of its parents classes are regular C++ classes. No meta-level classes are defined in the codes. Could someone tells me what might cause the problem? thank you in advance! best regards --yang __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |
From: Grzegorz J. <ja...@he...> - 2003-08-01 00:27:10
|
On Thu, 31 Jul 2003, Iwan Birrer wrote: > I gave it up trying to compile the source on windows and changed to unix. > But unfortunately I was not succesful as well :-(( > > After invoking configure, the 'make' command outputs the following: > > ibirrer@tardis-b03:~/opencxx>make > make all-recursive > ... > make: Fatal error in reader: Makefile.gc, line 351: Extra `:', `::', or `:=' > on > dependency line > Current working directory /home/ibirrer/opencxx/gc > ... > > - The unix System is running under solaris. > - I use the actual CVS version. > - Version 2.5.12 is compiling succesfully Looks like your make is not smart enough. Use GNU make (perhaps it lives on your system as gmake; ./configure MAKE=gmake should do the trick). Best regards Grzegorz > > > Thanks for any help! > > Iwan > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > 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) 2002 Grzegorz Jakacki, HED. All Rights Reserved. # ################################################################## |
From: Iwan B. <ib...@co...> - 2003-07-31 12:39:53
|
I gave it up trying to compile the source on windows and changed to unix. But unfortunately I was not succesful as well :-(( After invoking configure, the 'make' command outputs the following: ibirrer@tardis-b03:~/opencxx>make make all-recursive ... make: Fatal error in reader: Makefile.gc, line 351: Extra `:', `::', or `:=' on dependency line Current working directory /home/ibirrer/opencxx/gc ... - The unix System is running under solaris. - I use the actual CVS version. - Version 2.5.12 is compiling succesfully Thanks for any help! Iwan |
From: Jeff P. <pal...@al...> - 2003-07-30 14:24:52
|
The new stream classes are in the std namespace. In order to use them you need to use the std namespace, the effected classes, or prefix the class names with std::. Also, I haven't been able to get libltdl to compile under VC 7, so I reverted to using driver2.cpp instead of driver2.cc. I've decided not to use opencxx in my project because it barfs on some of our nasty template code, so my port isn't very well tested. However, I'll send you the code if you want to take on the responsibility for reintegrating it with the development branch. Iwan Birrer wrote: >Hi, > >Thanks a lot for your answer. The only problem is, that I now have even more >errors... > >The first few errors look like this: > >c:\opencxx\src\buffer.h(81) : error C2061: syntax error : identifier >'ostream' >c:\opencxx\src\buffer.h(108) : error C2143: syntax error : missing ')' >before '&' >c:\opencxx\src\buffer.h(108) : error C2143: syntax error : missing ';' >before '&' >c:\opencxx\src\buffer.h(108) : error C2460: >'Opencxx::Opencxx::ProgramFile::ifstream' : uses >'Opencxx::Opencxx::ProgramFile', which is being defined > c:\opencxx\src\buffer.h(106) : see declaration of >'Opencxx::Opencxx::ProgramFile' >c:\opencxx\src\buffer.h(108) : error C2059: syntax error : ',' >... etc > > >Thanks >Iwan > > > > > >----- Original Message ----- >From: "Benjamin Scherrey" <sch...@pr...> >To: <ope...@li...>; "Iwan Birrer" ><ib...@co...> >Sent: Wednesday, July 30, 2003 2:06 AM >Subject: Re: [Opencxx-users] Compiling on Windows 2000 VC7 > > > > >>Haven't tried it myself but my guess would be MSVC++ is finally attempting >> >> >to be a compliant C++ > > >>compiler. Inclusion of standard header files with .h extension is >> >> >deprecated. Try replacing the line > > >>that #include 'fstream.h' with #include <fstream> and see if that doesn't >> >> >make a difference. There > > >>are likely to be other such examples I'm sure. >> >>Good luck, >> >>Ben Scherrey >> >>7/29/2003 3:36:01 AM, "Iwan Birrer" <ib...@co...> wrote: >> >> >>>Is there anybody who succesfully compiled the source with the win32 >>>makefile? I tried to compile it with the following command: >>> >>>nmake Makefile.occ >>> >>>but without succes. The error message was the following: >>>c:\opencxx\src\buffer.h(39) : fatal error C1083: Cannot open include >>> >>> >file: > > >>>'fstream.h': No such file or directory >>> >>> >> >> >> >>------------------------------------------------------- >>This SF.Net email sponsored by: Free pre-built ASP.NET sites including >>Data Reports, E-commerce, Portals, and Forums are available now. >>Download today and enter to win an XBOX or Visual Studio .NET. >> >> >> >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > >>_______________________________________________ >>Opencxx-users mailing list >>Ope...@li... >>https://lists.sourceforge.net/lists/listinfo/opencxx-users >> >> >> > > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >_______________________________________________ >Opencxx-users mailing list >Ope...@li... >https://lists.sourceforge.net/lists/listinfo/opencxx-users > > |
From: Iwan B. <ib...@co...> - 2003-07-30 14:12:40
|
Hi, Sorry, forgot the 'using namespace std' line... But there is still an error: Anybody an idea how to solve it? \opencxx\src\buffer.cc(455) : error C2665: 'operator new[]' : none of the 4 overloads can convert parameter 2 from type 'Opencxx::GCPlacement' C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\new(74): could be 'void *operator new[](size_t,void *) throw()' C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\new(94): or 'void *operator new[](size_t,const std::nothrow_t &) throw()' while trying to match the argument list '(unsigned int, Opencxx::GCPlacement)' Line 455 of buffer.cc looks like this: ProgramString::ProgramString() : Program("unknown") { buf = new (GC) char[BufSize]; // Line 455 buf[0] = '\0'; size = BufSize; index = str_length = 0; } Thanks for any help! Iwan ----- Original Message ----- From: "Iwan Birrer" <ib...@co...> To: "Benjamin Scherrey" <sch...@pr...>; <ope...@li...> Sent: Wednesday, July 30, 2003 2:32 PM Subject: Re: [Opencxx-users] Compiling on Windows 2000 VC7 > Hi, > > Thanks a lot for your answer. The only problem is, that I now have even more > errors... > > The first few errors look like this: > > c:\opencxx\src\buffer.h(81) : error C2061: syntax error : identifier > 'ostream' > c:\opencxx\src\buffer.h(108) : error C2143: syntax error : missing ')' > before '&' > c:\opencxx\src\buffer.h(108) : error C2143: syntax error : missing ';' > before '&' > c:\opencxx\src\buffer.h(108) : error C2460: > 'Opencxx::Opencxx::ProgramFile::ifstream' : uses > 'Opencxx::Opencxx::ProgramFile', which is being defined > c:\opencxx\src\buffer.h(106) : see declaration of > 'Opencxx::Opencxx::ProgramFile' > c:\opencxx\src\buffer.h(108) : error C2059: syntax error : ',' > ... etc > > > Thanks > Iwan > > > > > > ----- Original Message ----- > From: "Benjamin Scherrey" <sch...@pr...> > To: <ope...@li...>; "Iwan Birrer" > <ib...@co...> > Sent: Wednesday, July 30, 2003 2:06 AM > Subject: Re: [Opencxx-users] Compiling on Windows 2000 VC7 > > > > Haven't tried it myself but my guess would be MSVC++ is finally attempting > to be a compliant C++ > > compiler. Inclusion of standard header files with .h extension is > deprecated. Try replacing the line > > that #include 'fstream.h' with #include <fstream> and see if that doesn't > make a difference. There > > are likely to be other such examples I'm sure. > > > > Good luck, > > > > Ben Scherrey > > > > 7/29/2003 3:36:01 AM, "Iwan Birrer" <ib...@co...> wrote: > > >Is there anybody who succesfully compiled the source with the win32 > > >makefile? I tried to compile it with the following command: > > > > > >nmake Makefile.occ > > > > > >but without succes. The error message was the following: > > >c:\opencxx\src\buffer.h(39) : fatal error C1083: Cannot open include > file: > > >'fstream.h': No such file or directory > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Opencxx-users mailing list > > Ope...@li... > > https://lists.sourceforge.net/lists/listinfo/opencxx-users > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Opencxx-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opencxx-users > |
From: Iwan B. <ib...@co...> - 2003-07-30 12:32:13
|
Hi, Thanks a lot for your answer. The only problem is, that I now have even more errors... The first few errors look like this: c:\opencxx\src\buffer.h(81) : error C2061: syntax error : identifier 'ostream' c:\opencxx\src\buffer.h(108) : error C2143: syntax error : missing ')' before '&' c:\opencxx\src\buffer.h(108) : error C2143: syntax error : missing ';' before '&' c:\opencxx\src\buffer.h(108) : error C2460: 'Opencxx::Opencxx::ProgramFile::ifstream' : uses 'Opencxx::Opencxx::ProgramFile', which is being defined c:\opencxx\src\buffer.h(106) : see declaration of 'Opencxx::Opencxx::ProgramFile' c:\opencxx\src\buffer.h(108) : error C2059: syntax error : ',' ... etc Thanks Iwan ----- Original Message ----- From: "Benjamin Scherrey" <sch...@pr...> To: <ope...@li...>; "Iwan Birrer" <ib...@co...> Sent: Wednesday, July 30, 2003 2:06 AM Subject: Re: [Opencxx-users] Compiling on Windows 2000 VC7 > Haven't tried it myself but my guess would be MSVC++ is finally attempting to be a compliant C++ > compiler. Inclusion of standard header files with .h extension is deprecated. Try replacing the line > that #include 'fstream.h' with #include <fstream> and see if that doesn't make a difference. There > are likely to be other such examples I'm sure. > > Good luck, > > Ben Scherrey > > 7/29/2003 3:36:01 AM, "Iwan Birrer" <ib...@co...> wrote: > >Is there anybody who succesfully compiled the source with the win32 > >makefile? I tried to compile it with the following command: > > > >nmake Makefile.occ > > > >but without succes. The error message was the following: > >c:\opencxx\src\buffer.h(39) : fatal error C1083: Cannot open include file: > >'fstream.h': No such file or directory > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Opencxx-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opencxx-users > |
From: Benjamin S. <sch...@pr...> - 2003-07-30 00:10:05
|
Haven't tried it myself but my guess would be MSVC++ is finally attempting to be a compliant C++ compiler. Inclusion of standard header files with .h extension is deprecated. Try replacing the line that #include 'fstream.h' with #include <fstream> and see if that doesn't make a difference. There are likely to be other such examples I'm sure. Good luck, Ben Scherrey 7/29/2003 3:36:01 AM, "Iwan Birrer" <ib...@co...> wrote: >Is there anybody who succesfully compiled the source with the win32 >makefile? I tried to compile it with the following command: > >nmake Makefile.occ > >but without succes. The error message was the following: >c:\opencxx\src\buffer.h(39) : fatal error C1083: Cannot open include file: >'fstream.h': No such file or directory |
From: Iwan B. <ib...@co...> - 2003-07-29 07:36:07
|
Hello, Is there anybody who succesfully compiled the source with the win32 makefile? I tried to compile it with the following command: nmake Makefile.occ but without succes. The error message was the following: c:\opencxx\src\buffer.h(39) : fatal error C1083: Cannot open include file: 'fstream.h': No such file or directory Thanks for any help! Cheers Iwan |
From: Grzegorz J. <ja...@he...> - 2003-07-24 02:36:34
|
On Tue, 22 Jul 2003, yang qu wrote: > I installed the open c++ in a redhat8.0. the gcc > version was 2.96 and I used the DONT_GC preprocesor. > when I tried to run the "sample" program, I got the > following message: > > ../src/occ -- -g -L../src/Unix/libocc.a -o person > person.cc > lt_dlopen(VerboseClass.so) failed: > /export/home/qudhs/opencxx-2.6.1/sample/VerboseClass.so: > undefined symbol: > InitializeInstance__Q27Opencxx5ClassPQ27Opencxx5PtreeT1 > make: *** [person] Error 1 > > I didn't find the symbol in opencxx.a. in libocc.a, I > got : > nm -l tmplib/libocc.a | grep InitializeInstance > 0000215c T > InitializeInstance__Q27Opencxx13TemplateClassPQ27Opencxx5PtreeT1 > /export/home/qudhs/opencxx-2.6.1/src/mop.cc:1072 > 00000124 T > InitializeInstance__Q27Opencxx5ClassPQ27Opencxx5PtreeT1 > /export/home/qudhs/opencxx-2.6.1/src/mop.cc:74 > U > InitializeInstance__Q27Opencxx5ClassPQ27Opencxx5PtreeT1 > > /export/home/qudhs/opencxx-2.6.1/src/metaclass.cc:0 > > so, what should I do to correct it? > thank you in advance! Is VerboseClass.so on your LD_LIBRARY_PATH? Regards Grzegorz > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > 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) 2002 Grzegorz Jakacki, HED. All Rights Reserved. # ################################################################## |
From: yang qu <qu...@ya...> - 2003-07-22 20:04:13
|
I installed the open c++ in a redhat8.0. the gcc version was 2.96 and I used the DONT_GC preprocesor. when I tried to run the "sample" program, I got the following message: ../src/occ -- -g -L../src/Unix/libocc.a -o person person.cc lt_dlopen(VerboseClass.so) failed: /export/home/qudhs/opencxx-2.6.1/sample/VerboseClass.so: undefined symbol: InitializeInstance__Q27Opencxx5ClassPQ27Opencxx5PtreeT1 make: *** [person] Error 1 I didn't find the symbol in opencxx.a. in libocc.a, I got : nm -l tmplib/libocc.a | grep InitializeInstance 0000215c T InitializeInstance__Q27Opencxx13TemplateClassPQ27Opencxx5PtreeT1 /export/home/qudhs/opencxx-2.6.1/src/mop.cc:1072 00000124 T InitializeInstance__Q27Opencxx5ClassPQ27Opencxx5PtreeT1 /export/home/qudhs/opencxx-2.6.1/src/mop.cc:74 U InitializeInstance__Q27Opencxx5ClassPQ27Opencxx5PtreeT1 /export/home/qudhs/opencxx-2.6.1/src/metaclass.cc:0 so, what should I do to correct it? thank you in advance! __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |
From: Grzegorz J. <ja...@he...> - 2003-07-18 00:21:30
|
Hi, I am not sure if this is what you are looking for, but did you have a look at coldstore.sourceforge.net? Regards Grzegorz On Thu, 10 Jul 2003 j....@at... wrote: > I just discovered OpenC++ and really like the idea. One of the things > mentioned as a possibility (and what led me to find OpenC++) is a persistence > mechanism. I looked through the samples and have Googled and don't see anyone > having defined a persistence mechanism in OpenC++. (I would have searched the > archives for this list too, if there had been any :)). > > So, I am left wondering, what is probably a FAQ, are there any persistence > abilities already defined using OpenC++? Has anyone developed one? > > What I am looking for would be something similar to a persistent keyword that > could be defined with a class (persistent class Class). This would then > generate some sort of method (something like an ostream& operator<<(Class&) > method) if one isn't present, similarly to the way a default constructor is > created when one isn't supplied. There might be better ways to do it, that's > just what has come to me so far. > > Also, what about say profiling methods on a class? You could put in a profile > keyword that would generate a prefix and postfix method. I guess this is > similar to the after and before accessors and could be used as such. Hm. > > Just some random thoughts and questions. I don't want to duplicate anything > anyone has done before, and would be interested in hearing of the pitfalls of > trying something like this. I'm afraid my exuberation has blinded me to the > potential pitfalls this early in my consideration :) > > Thanks, > > Jay > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > 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) 2002 Grzegorz Jakacki, HED. All Rights Reserved. # ################################################################## |
From: Grzegorz J. <ja...@he...> - 2003-07-18 00:15:09
|
On Tue, 15 Jul 2003, Winnie wrote: > Dear all, > > When I tried to use the complier generated by the Open C++ to translate a > source (base-level) program (i.e. compile with option -E -n only), I got > an error message: "the specified metaclass is not for templates." if the > class is templated inside the source program. I would like to know if > Open C++ support template classes and if so, what's the syntax and usage? > Thanks a lot! You need to derive your metaclass from TemplateClass, not Class, see file ref-appendix.html, the existing support is described here. There is some more template-related code in exp_templates CVS branch (e.g. for specialization, i.e. creating class metaobjects from template metaobject), but it may require some tweaking, depending on your needs. Best regards Grzegorz > > Regards, > Winnie > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > 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) 2002 Grzegorz Jakacki, HED. All Rights Reserved. # ################################################################## |
From: Grzegorz J. <ja...@he...> - 2003-07-18 00:09:44
|
On Mon, 14 Jul 2003, Chris Cheung wrote: > Hi, > > On Fri, 11 Jul 2003, Carsten Pfeiffer wrote: > > > > please try the current CVS version, the problem should be fixed there (and it > > should be at least as stable as that snapshot). > > > > Thanks a lot. > I tried the current CVS version (from > cvs.sourceforge.net:/cvsroot/opencxx/opencxx) and my last problem did not > appear. However, > > > 1) If I follow the tutorial to use the dynamic-linking in the OpenC++ > compiler, > > [sample]$ ../src/occ -I../src -I../gc -- -g -o person person.cc > lt_dlopen(VerboseClass.so) failed: > /.../opencxx/sample/VerboseClass.so: > undefined symbol: _ZTIN7Opencxx5ClassE > [cheungcc@orchid sample]$ c++filt _ZTIN7Opencxx5ClassE > typeinfo for Opencxx::Class > > The symbol "typeinfo for Opencxx::Class" seems missing. > If I use static linking with src/.lib/libocc.a, then there is no problem. I have no idea what it is. Please check with 'nm -C' if the symbol really is not there? > > > 2) If I try using another compiler like Intel compiler icc > > [opencxx-icc]$ export CC=icc > [opencxx-icc]$ export CXX=icc > [opencxx-icc]$ export CXXFLAGS=-w1 > [opencxx-icc]$ export CFLAGS=-w1 > [opencxx-icc]$ cd .. > [opencxx-icc]$ ./configure > > It seems that the make system hardcoded using gcc and g++ in compiling > some source files. Yes, compiler is hardcoded in driver2.cc . We have long standing plan to move this functionality out of occ and put it into wrapper script. This is not difficult, perhaps you could contribute a bit of your time and do it (it is solution to your problem anyways)? I can help with details. > Moreover, icc encounter compilation error like > > buffer.cc(455): error: no instance of overloaded "operator new[]" matches > the argument list > argument types are: (unsigned int, GCPlacement) > buf = new (GC) char[BufSize]; > > Is there any solution or workaround? Strange --- the operator is defined in types.h:134, make sure your compiler sees the definition. The quick hack is to compile without GC (define DONT_GC preproc symbol). Hope this helps Grzegorz > > Thank you very much. > > -- > Best Regards, > > Chris Cheung > Center for Large-Scale Computation > > Have a nice day! > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > 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) 2002 Grzegorz Jakacki, HED. All Rights Reserved. # ################################################################## |
From: Winnie <mm...@cl...> - 2003-07-15 09:34:29
|
Dear all, When I tried to use the complier generated by the Open C++ to translate a source (base-level) program (i.e. compile with option -E -n only), I got an error message: "the specified metaclass is not for templates." if the class is templated inside the source program. I would like to know if Open C++ support template classes and if so, what's the syntax and usage? Thanks a lot! Regards, Winnie |
From: Chris C. <che...@cl...> - 2003-07-14 04:26:20
|
Hi, On Fri, 11 Jul 2003, Carsten Pfeiffer wrote: > > please try the current CVS version, the problem should be fixed there (and it > should be at least as stable as that snapshot). > Thanks a lot. I tried the current CVS version (from cvs.sourceforge.net:/cvsroot/opencxx/opencxx) and my last problem did not appear. However, 1) If I follow the tutorial to use the dynamic-linking in the OpenC++ compiler, [sample]$ ../src/occ -I../src -I../gc -- -g -o person person.cc lt_dlopen(VerboseClass.so) failed: /.../opencxx/sample/VerboseClass.so: undefined symbol: _ZTIN7Opencxx5ClassE [cheungcc@orchid sample]$ c++filt _ZTIN7Opencxx5ClassE typeinfo for Opencxx::Class The symbol "typeinfo for Opencxx::Class" seems missing. If I use static linking with src/.lib/libocc.a, then there is no problem. 2) If I try using another compiler like Intel compiler icc [opencxx-icc]$ export CC=icc [opencxx-icc]$ export CXX=icc [opencxx-icc]$ export CXXFLAGS=-w1 [opencxx-icc]$ export CFLAGS=-w1 [opencxx-icc]$ cd .. [opencxx-icc]$ ./configure It seems that the make system hardcoded using gcc and g++ in compiling some source files. Moreover, icc encounter compilation error like buffer.cc(455): error: no instance of overloaded "operator new[]" matches the argument list argument types are: (unsigned int, GCPlacement) buf = new (GC) char[BufSize]; Is there any solution or workaround? Thank you very much. -- Best Regards, Chris Cheung Center for Large-Scale Computation Have a nice day! |
From: Carsten P. <car...@ma...> - 2003-07-11 11:18:08
|
=2D----BEGIN PGP SIGNED MESSAGE----- On Friday 11 July 2003 13:03, Chris Cheung wrote: Hi, > I tried using > > opencxx-snapshot-HEAD-2003-03-25 > > with g++ 3.2 compiler please try the current CVS version, the problem should be fixed there (and = it=20 should be at least as stable as that snapshot). Cheers Carsten Pfeiffer =2D----BEGIN PGP SIGNATURE----- iQEVAwUBPw6c4qWgYMJuwmZtAQFUHwf9FVy5wvkYkM7vQzohrME26VB3mDCHh5th PYOSbAAzTUn8yyYJrUf38WGRYtYjYm4kPxRPovxCM/a2UvSwNA91XkLxexl0/vCd wLONRra45a6Lfvs1hgk2dAVhk8PzlfhH2oEUgMJknHeW18OEkaiPObv+AyYV5096 6d6osMhZ0vnBoI9tFUmQL7fceFC3p9yGdAVuAaAV2OUf2kz5j2tam2Ilp0yJs8yL YDkprnsPAeU5zTEi/94XFP34Elm/FiQSMw3q+zcmSneqfaSme1Cw7ux0GytpXgqi g4DSqm+zKLSt66nlaUSUHtQrqeWVxF/8ZVLjjkLYwxMoyaOTvuOzWg=3D=3D =3DoicO =2D----END PGP SIGNATURE----- |
From: Chris C. <che...@cl...> - 2003-07-11 11:06:09
|
Dear all, I tried using opencxx-snapshot-HEAD-2003-03-25 with g++ 3.2 compiler g++-3.2 (GCC) 3.2 (Mandrake Linux 9.0 3.2-1mdk) and follows the tutorial on VerboseClass. 1) The OpenC++ compiler gets problem in parsing some g++-3.2 include files: [sample]$ ../src/occ -m -c -I../src -I../gc -- -g VerboseClass.mc MOP warning: The hash table is full. Expanded... /usr/include/c++/3.2/bits/stl_alloc.h:392: parse error before `= *' /usr/include/c++/3.2/bits/stl_alloc.h:401: parse error before `__ret ;' /usr/include/c++/3.2/bits/stl_construct.h:67: parse error before `namespace std' /usr/include/c++/3.2/bits/stl_construct.h:86: parse error before `template <' /usr/include/c++/3.2/bits/stl_construct.h:98: parse error before `template <' /usr/include/c++/3.2/bits/stl_construct.h:101: parse error before `__last ;' /usr/include/c++/3.2/bits/stl_construct.h:101: parse error before `__first )' /usr/include/c++/3.2/bits/stl_construct.h:112: parse error before `template <' /usr/include/c++/3.2/bits/stl_construct.h:134: parse error before `template <' /usr/include/c++/3.2/bits/stl_construct.h:145: parse error before `} namespace' 10 Error(s). OpenC++ stops. 2) If I try skipping preprocessing, VerboseClass-init.so cannot be generated: [sample]$ ../src/occ -n -P -m -c -I../src -I../gc -- -I../src -I../gc -g VerboseClass.mc VerboseClass.so is outputted but VerboseClass-init.so is absent. Is there any solution or workaround? Thank you very much. -- Best Regards, Chris Cheung Center for Large-Scale Computation Have a nice day! |
From: <j....@at...> - 2003-07-10 23:18:54
|
I just discovered OpenC++ and really like the idea. One of the things mentioned as a possibility (and what led me to find OpenC++) is a persistence mechanism. I looked through the samples and have Googled and don't see anyone having defined a persistence mechanism in OpenC++. (I would have searched the archives for this list too, if there had been any :)). So, I am left wondering, what is probably a FAQ, are there any persistence abilities already defined using OpenC++? Has anyone developed one? What I am looking for would be something similar to a persistent keyword that could be defined with a class (persistent class Class). This would then generate some sort of method (something like an ostream& operator<<(Class&) method) if one isn't present, similarly to the way a default constructor is created when one isn't supplied. There might be better ways to do it, that's just what has come to me so far. Also, what about say profiling methods on a class? You could put in a profile keyword that would generate a prefix and postfix method. I guess this is similar to the after and before accessors and could be used as such. Hm. Just some random thoughts and questions. I don't want to duplicate anything anyone has done before, and would be interested in hearing of the pitfalls of trying something like this. I'm afraid my exuberation has blinded me to the potential pitfalls this early in my consideration :) Thanks, Jay |
From: Grzegorz J. <ja...@he...> - 2003-06-24 19:23:48
|
On Tue, 24 Jun 2003, Hannu Rummukainen wrote: > Grzegorz Jakacki wrote: > > It certainly depends a lot on what your practical use is going to be. > > I would be glad to give more details, but I need some background on how do > > you want to use OpenC++. > > I'm afraid I cannot give much details at this stage, but I'm developing a > complicated speed-critical library, and I had the idea of generating certain > kinds of methods for the library user automatically from a higher-level > description. That's why I was checking out OpenC++, and what prompted my > question was that I wouldn't want to restrict the kinds of C++ code that could > be used together with the library. Anyhow, it looks like I won't have time to > pursue the idea any further, so the question is moot on my part. > > As an interested bystander, I would still like to suggest that you consider > documenting the current limitations of OpenC++. It would be useful not only to > users and potential users, but it could also serve as a kind of to-do list for > development work. Thanks for your suggestin, we will certainly pursue it once there are resources available. Best regards Grzegorz > > Best wishes, > > Hannu Rummukainen > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > 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) 2002 Grzegorz Jakacki, HED. All Rights Reserved. # ################################################################## |