Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Pbarray.cpp not compiling
Pbarray.cpp not compiling [message #118755] Wed, 01 September 2004 19:11
Eclipse UserFriend
Originally posted by: jm42163jm.yahoo.com

I am using mingw32 (gcc3.2.3) within eclipse 3.0CDT. The error I am getting
is...

In file included from C:/mac/dev/pbnitest/SDK/PBNI/include/pbni.h:822,from
.../SDK/PBNI/src/pbarray.cpp:22:

C:/mac/dev/pbnitest/SDK/PBNI/include/pbarray.h:39: ISO C++ forbids
declaration of `ValueType' with no type

C:/mac/dev/pbnitest/SDK/PBNI/include/pbarray.h:39: cannot declare member
`PBValueTraits<v>::ValueType' within `PBUnboundedArrayCreator<T>'.

..

..

It appears that the compiler views the typedef as a class memeber
declaration. Why?? Does the syntax look correct?? Should I be tweeking

PBNI code directly???

Here is a part of the code (pbarray.h)

template <pbvalue_type T>

class PBUnboundedArrayCreator

{

typedef TYPENAME PBValueTraits<T>::ValueType ValueType;

..

..
Previous Topic:CDT extension points
Next Topic:How to put workspace & project files in some subdirectory of my project?
Goto Forum:
  


Current Time: Fri Jul 18 05:27:40 EDT 2025

Powered by FUDForum. Page generated in 0.09227 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top