Results 1 to 2 of 2

Thread: a strange problem about slice

  1. #1
    kemp is offline Registered User
    Join Date
    Jun 2005
    Posts
    4

    a strange problem about slice

    hi,
    Did anyone meet such a strange problem?
    I have a slice definition file, in which include some constant definitions, the definition looks like
    the following:
    const string cnstLabel = "1.3.6";

    I complie the slice file with the following:
    slice2cpp cwng.ice

    The 'cnstLabel' in the generated file is translated to a strange value:
    const ::std::string cnstLabel = "1\0463\0466";

    BTW, I use VC6 on windows 2000, ICE 2.1.0.

    thanks,
    Kemp

  2. #2
    michi's Avatar
    michi is offline Registered User
    Name: Michi Henning
    Organization: Triodia Technologies
    Project: I have a passing interest in Ice :-)
    Join Date
    Feb 2003
    Location
    Brisbane, Australia
    Posts
    1,055
    Thanks muchly for the bug report! I've posted a patch at http://www.zeroc.com/vbulletin/showthread.php?t=1482. The problem shows up only if a string constant contains a period, minus sign, or a non-printable character.

    Cheers,

    Michi.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 6
    Last Post: 10-14-2010, 03:58 PM
  2. Replies: 7
    Last Post: 04-23-2009, 02:15 PM
  3. Replies: 3
    Last Post: 06-13-2007, 02:21 PM
  4. Problem with slice
    By cesartovic in forum Help Center
    Replies: 1
    Last Post: 06-21-2006, 10:46 AM
  5. Replies: 1
    Last Post: 01-17-2006, 08:30 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
  •