RE: ORBit-2.0 cpp bug?
- From: Murray Cumming Comneon com
- To: fmoya inf-cr uclm es, orbit-list gnome org
- Subject: RE: ORBit-2.0 cpp bug?
- Date: Thu, 6 Mar 2003 11:11:28 +0100
Are you talking about orbitcpp? There is a mailing list and bug tracker for
orbitcpp:
http://orbitcpp.sourceforge.net/
Murray Cumming
murrayc@usa.net
www.murrayc.com
> -----Original Message-----
> From: Paco Moya [mailto:fmoya@inf-cr.uclm.es]
> Sent: Mittwoch, 5. März 2003 17:59
> To: orbit-list@gnome.org
> Subject: ORBit-2.0 cpp bug?
>
>
> I get a segfault with this extremely simple example.
> Any clue? The smart pointer associated to s.a seems
> to be NULL...
>
> tst.idl:--------------------------------------------
> module test {
> typedef sequence<long> seq;
> struct sseq {
> seq a;
> };
> };
>
> main.cc:--------------------------------------------
> #include "tst-cpp.h"
> int main()
> {
> test::sseq s;
> s.a->length(10);
> }
>
> Makefile:------------------------------------------
> CFLAGS=`pkg-config --cflags ORBit-2.0`
> CXXFLAGS=-g `pkg-config --cflags ORBit-2.0-cpp`
> LDLIBS=-g `pkg-config --libs ORBit-2.0-cpp`
> CC=g++
>
> main: main.o tst-cpp.o tst-common.o
> tst-cpp.cc tst-cpp.h: tst.idl
> orbit-idl-2 -lcpp $<
> tst-common.c tst.h: tst.idl
> orbit-idl-2 -lc $<
> main.o: tst-cpp.h tst.h
> clean:
> $(RM) tst.h tst-* *.o main
>
> _______________________________________________
> orbit-list mailing list
> orbit-list@gnome.org http://mail.gnome.org/mailman/listinfo/orbit-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]