Home Bug Reports

Ice 3.3.0 slice2cpp with --header-ext flag

paolopaolo Member paolo volpiOrganization: tvblobProject: tvblob blobbox
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?

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi Paolo,

    Yes, that's a known issue, see Michi's response to a similar question [thread=3871]here[/thread].

    Cheers,
    Benoit.
Sign In or Register to comment.