Results 1 to 2 of 2

Thread: Ice 3.3.0 slice2cpp with --header-ext flag

  1. #1
    paolo is offline Registered User
    Name: paolo volpi
    Organization: tvblob
    Project: tvblob blobbox
    Join Date
    Aug 2007
    Posts
    22

    Ice 3.3.0 slice2cpp with --header-ext flag

    Hi,
    calling slice2cpp with --header-ext hpp generate source files with the expected hpp extension but modify also #include directives for Ice includes file extension too placed inside generated files.

    // Ice version 3.3.0
    // Generated from file `argo.ice'

    #ifndef __src_argo_hpp__
    #define __src_argo_hpp__

    #include <Ice/LocalObjectF.h>
    #include <Ice/ProxyF.h>
    #include <Ice/ObjectF.h>
    #include <Ice/Exception.h>
    #include <Ice/LocalObject.h>
    #include <Ice/Proxy.h>
    #include <Ice/Object.h>
    #include <Ice/Outgoing.h>
    #include <Ice/OutgoingAsync.h>
    #include <Ice/Incoming.h>
    #include <Ice/Direct.h>
    #include <Ice/UserExceptionFactory.h>
    #include <Ice/FactoryTable.h>
    #include <Ice/StreamF.h>
    #include <Glacier2/Session.hpp> <----------- this one
    #include <ade.hpp>
    #include <Ice/UndefSysMacros.h>

    generated from:
    #ifndef ARGO_ICE
    #define ARGO_ICE

    #include <Glacier2/Session.ice>
    #include <ade.ice>

    ["cpp:type:wstring"]
    module ade
    {
    .......
    .......


    Is that the right behaviour?

  2. #2
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi Paolo,

    Yes, that's a known issue, see Michi's response to a similar question here.

    Cheers,
    Benoit.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Freeze does not set log auto remove flag properly
    By rGlory in forum Bug Reports
    Replies: 1
    Last Post: 06-01-2010, 07:01 PM
  2. slice2cpp header renaming with header-ext
    By tctimmeh in forum Help Center
    Replies: 2
    Last Post: 03-28-2009, 04:07 PM
  3. Compiler flag -xarch deprecated in Sun Studio 12
    By Markus Bernhard in forum Help Center
    Replies: 0
    Last Post: 06-05-2007, 08:29 PM
  4. Replies: 9
    Last Post: 11-29-2005, 12:56 PM
  5. --source-ext options broken in slice2cpp 2.1
    By acbell in forum Bug Reports
    Replies: 2
    Last Post: 03-13-2005, 11:57 PM

Posting Permissions

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