To start Wind River Workbench IDE. 3.1 Manual, step. Create the connection by right-clicking there and selecting New→Connection→Wind River VxWorks 6.x.

In Visual Studio 2010, I was able to build enumeration with datatype just fine.

Complete bible seiko matsuda all singles rar

However, when I tried to compile in WR Workbench, I get the following error:

: error: use of enum 'FRUIT_E' without previous declaration

I really need to specify the datatype of enum as fields are bitpacked. Is there any way I could explicitly specify the type of enumeration?

JustinJustin

1 Answer

The short answer to your question is no.

Dc adventures heroes and villains vol 1 pdf. The ability to define a base type for enumerations is a language feature that was not added until C++11 (http://en.cppreference.com/w/cpp/language/enum). Unfortunately, WindRiver has been slow to support compilers that comply with modern C++ standards (C++ 11 in vxworks). There is mention of support for C++11 in commercial versions of g++ for VxWorks 7.0+ (https://stackoverflow.com/a/36311473). But, your WorkBench version (<4.0) implies that this won't be helpful to you.

In your situation, I might cobble together a work-around, such as this:

However, this won't provide type safety, as FRUIT_T is just an alias for UINT16. So, it's far from ideal. I've added tags to your question. There may be better work-arounds, emulating the desired behavior more closely. But, the addition of a new language feature would seem to indicate that existing methods were inadequate.

Community
Windriver Workbench 3.1 Download

Wind River Workbench By Example

Cliff BilbreyCliff Bilbrey
Wind river workbench 2.5 cd

Not the answer you're looking for? Browse other questions tagged c++c++11vxworkswind-river-workbench or ask your own question.

Does anyone have any wisdom on how to get Wind River Workbench 3.2 and RTC 3.0.1 to work together ?
We are trying to install the RTC 'P2' installation into the Eclipse instance that comes with the Workbench but we have a problem.
RTC appears to use Eclipse 3.5.2 and Workbench was Eclipse 3.5.1 when we first tried to do this but after an update of the Workbench we have now got Wind River to use Eclipse 3.5.2 also.
The error message we get points to version incompatibility :
Cannot complete the install because of a conflicting dependency.
Software being installed: Rational Team Concert Client Feature 3.0.1.RTC-I20110602-0252 (com.ibm.team.rtc.client.feature.feature.group 3.0.1.RTC-I20110602-0252)
Software currently installed: Wind River Workbench 3.2.0 (com.windriver.ide.wrworkbench 3.2.0)
Only one of the following can be installed at once:
Core File System for Windows 1.1.100.R35x_v20100928-0452 (org.eclipse.core.filesystem.win32.x86 1.1.100.R35x_v20100928-0452)
Core File System for Windows 1.1.0.v20080604-1400 (org.eclipse.core.filesystem.win32.x86 1.1.0.v20080604-1400)
Cannot satisfy dependency:
From: Rational Team Concert Client Feature 3.0.1.RTC-I20110602-0252 (com.ibm.team.rtc.client.feature.feature.group 3.0.1.RTC-I20110602-0252)
To: org.eclipse.platform.R352patch.feature.group 0.0.0
Cannot satisfy dependency:
From: Wind River Workbench Platform Dependencies 3.2.3.1 (com.windriver.ide.dependencies.platform.feature.group 3.2.3.1)
To: org.eclipse.platform.feature.group
Cannot satisfy dependency:
From: Wind River Workbench 3.2.0 (com.windriver.ide.wrworkbench 3.2.0)
To: com.windriver.ide.dependencies.platform.feature.group
Cannot satisfy dependency:
From: Platform Patch (bugzillas 304330,325226,295991) 1.0.1 (org.eclipse.platform.R352patch.feature.group 1.0.1)
To: org.eclipse.platform.feature.group
Cannot satisfy dependency:
From: Eclipse Platform 3.5.2.wr20101019 (org.eclipse.platform.feature.group 3.5.2.wr20101019)
To: org.eclipse.core.filesystem.win32.x86
Cannot satisfy dependency:
From Patch: org.eclipse.platform.R352patch.feature.group 1.0.1 Eclipse Platform 3.5.2.R35x_v20100210-0800-9hEiFzmFst-TiEn9hNYgDWg1XN8ulH_JvCNGB (org.eclipse.platform.feature.group 3.5.2.R35x_v20100210-0800-9hEiFzmFst-TiEn9hNYgDWg1XN8ulH_JvCNGB)
To: org.eclipse.core.filesystem.win32.x86