Results 1 to 3 of 3

Thread: Bug in slice2cppe

  1. #1
    jkidd is offline Registered User
    Name: Jens Villadsen
    Organization: Personal
    Project: Master Thesis - evaluation embedded middleware
    Join Date
    Oct 2009
    Posts
    9

    Bug in slice2cppe

    Calling "slice2cppe --impl Test1_IndividuelDatatypeTest.ice", where slice2cppe is version 1.3.0 and the .ice file is as follows:

    #ifndef TEST1_INDIVIDUELDATATYPETEST
    #define TEST1_INDIVIDUELDATATYPETEST

    module Test1IndividuelDatatypeTest
    {
    sequence<byte> byteArray;

    class SimpleObject
    {
    void print();
    };

    class SimpleShort extends SimpleObject
    {
    short value;
    };

    class SimpleLong extends SimpleObject
    {
    long value;
    };

    class SimpleDouble extends SimpleObject
    {
    double value;
    };

    class SimpleFloat extends SimpleObject
    {
    float value;
    };

    class SimpleBoolean extends SimpleObject
    {
    bool value;
    };

    class SimpleByte extends SimpleObject
    {
    byte value;
    };

    class SimpleString extends SimpleObject
    {
    string value;
    };

    class SimpleByteArray extends SimpleObject
    {
    byteArray value;
    };

    interface Benchmark {
    void genericObjectFunctionWithoutReturnType( SimpleObject obj);
    bool genericObjectFunctionWithReturnType( SimpleObject obj);
    };
    };

    #endif

    produces four files. The file "Test1_IndividuelDatatypeTestI.h" is generated containing the following includes:
    ...
    #include <Test1_IndividuelDatatypeTest.h>
    #include <SimpleObjectI.h>
    ...
    How come is says "#include <SimpleObjectI.h>" when it does not exists?

  2. #2
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    If SimpleObjectI.h/.cpp is not generated that sounds like a bug.

  3. #3
    jkidd is offline Registered User
    Name: Jens Villadsen
    Organization: Personal
    Project: Master Thesis - evaluation embedded middleware
    Join Date
    Oct 2009
    Posts
    9
    Well, it does not. I happens on both Windows XP SP3, Windows 7 and Ubuntu 9.04. Try run it yourself. After the code generation, one just have to outcomment that particular line for successful compilation.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. slice2cppe metadata
    By Oscar.Acena in forum Help Center
    Replies: 6
    Last Post: 07-16-2007, 10:09 AM
  2. bug ?
    By OrNot in forum Bug Reports
    Replies: 1
    Last Post: 12-03-2005, 03:58 AM
  3. is it a bug or conflict ?
    By fw_csha in forum Help Center
    Replies: 2
    Last Post: 05-20-2005, 08:50 AM
  4. Is this a bug?
    By GlacierX in forum Bug Reports
    Replies: 5
    Last Post: 05-17-2005, 09:54 AM
  5. much like a Bug !
    By damingyipai in forum Bug Reports
    Replies: 4
    Last Post: 04-04-2004, 12:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •