Results 1 to 2 of 2

Thread: slice2cs bug when using a System module

  1. #1
    MatthiasE is offline Registered User
    Name: Matthias Einwag
    Organization: Daimler
    Project: Infotainment Systems
    Join Date
    Apr 2011
    Posts
    1

    slice2cs bug when using a System module

    Hi there,

    I defined a slice file, where an interface is defined inside a System namespace/module. The created .cs file can't be compiled by Visual Studio because of naming conflicts. The error occurs in the InterfaceNameDelD_ section of the .cs file and at the end of each function interface function:
    Code:
    catch(System.Exception ex__)
    {
        IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
    }
    I've seen that all other System references are prefixed with _ in the generated file, this seems to be missing here. With the manual fix, it works just fine.

  2. #2
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,441
    Hi Matthias,

    Welcome to the forum!

    Thanks for reporting this. We'll make sure it's fixed for the next release.

    Best regards,
    Mark

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. slice2cs enum bug when in another namespace
    By linkman in forum Bug Reports
    Replies: 1
    Last Post: 04-16-2011, 09:22 AM
  2. About slice module
    By Janggwan in forum Help Center
    Replies: 4
    Last Post: 12-14-2010, 06:48 AM
  3. Question about module
    By OrNot in forum Help Center
    Replies: 2
    Last Post: 09-19-2005, 05:57 AM
  4. Bug about Module
    By feb in forum Bug Reports
    Replies: 2
    Last Post: 11-03-2004, 08:14 PM
  5. Possible bug in slice2cs version 1.5
    By wodi in forum Bug Reports
    Replies: 3
    Last Post: 07-27-2004, 10:06 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
  •