Jump to content
OpenSplice DDS Forum
Sign in to follow this  
Akhil Chandra

Data Types for IDL files

Recommended Posts



I am using Community edition Opensplice DDS. I have gone through the documentation regarding the data types that DDS support. (IDL file).


Doesn't DDS support usigned int ? If not can I use usigned long? I have read some articles that it is implementation dependent. 


For example, under Windows they are the same, but for example on Alpha systems a long was 64 bits whereas an int was 32 bits.


In this case I am using Lubuntu 32-bit on a Windows 7 64-bit host. 




Share this post

Link to post
Share on other sites

In IDL file , the type "long" is "int" in C code and the type "long long" is "long" in C code .


See http://download.prismtech.com/docs/Vortex/html/ospl/IDLPreProcGuide/keys.html#supported-types-for-keys


So the question "Doesn't DDS support usigned int ?" , I think yes .  (unsigned long in IDL)


I think you should install 32-bit version DDS in Windows 7 64-bit and use 32-bit compiler , if you want use DDS in 32-bit system . 


Or you will see something like if your program transfers int64  to int32 , it will lost something .

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this