Compiling and linking C library in C++

I am using a C library (Solstice FTAM v9.0) in my C++ program. One of the library header files has a declrartionshort class;in one of the structures.The C++ compiler (Sun C++ 5.4 on Solaris 8) gives error. What we should do to compile and link this library in C++.
[292 byte] By [goel_manoja] at [2007-11-27 0:31:19]
# 1

You can use pointer to this structure without including the header that contains its definition, if it is possible, of course.

Also, it should be possible to #define class to smth else just before including this header and then #undef'ing it. If this C library comes in binary form, it shouldn't cause any problems since memory layout won't be affected; if it comes in source code form, you can always compile it with -Dclass=smth_else on the command line and reference this foul structure field from your C++ code accordingly.

MaximKartasheva at 2007-7-11 22:35:42 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2
Thanks. I am using the #define and #undef option, as i do have only the header and binary library.Manoj
goel_manoja at 2007-7-11 22:35:42 > top of Java-index,Development Tools,Solaris and Linux Development Tools...