SDL-News: CPP2SDL


Subject: SDL-News: CPP2SDL
From: Wainwright Carl EXT (Carl.Wainwright.extern#icn.siemens.de)
Date: Thu Mar 27 2003 - 10:08:38 GMT


Become an SDL Forum Society member <http://www.sdl-forum.org/Society/members.htm>
The originator of this message is responsible for its content.
-----From Wainwright Carl EXT <Carl.Wainwright.extern#icn.siemens.de> to sdlnews -----

Hi users,

I have a question about CPP2SDL which is a Telelogic TAU Tool for version 4.1 for converting C/C++ files to PR

I have the following definitions

        ##define TEST 100
        synonym MY_SYN Integer = ##CODE('TEST');

And receive the following error

        ##SDTREF(TEXT,C:\test_sdl_systems\cpp2sdl\prfiles\my_newtypes.pr,1,26)
        1: ERROR 373 No visible synonym or literal with this name
        synonym MY_SYN Integer = ? ##CODE( 'TEST')

This error did not appear when using H2SDL.

I tried changing the ##define to "const int TEST = 100;" but this gives the same error.

Anybody out there in the SDL world know about this

Carl
--End text from Wainwright Carl EXT <Carl.Wainwright.extern#icn.siemens.de> to sdlnews ---
For extra SDL Forum Society benefits join at <http://www.sdl-forum.org/Society/members.htm>



This archive was generated by hypermail 2a23 : Thu May 09 2013 - 16:05:49 GMT