APAR status
Closed as unreproducible in next release.
Error description
Problem is on R20 GA. You can reproduce by compiling attached small Workspace. 1. Extract the give B20-Test_Wks.zip and open the Workspace with the visual studio CAA Addin "Open CAA V5 Workspace" 2. Run "Locate Prerequisit Workspaces", choose CATIA R20 as Prerequisit 3. run the "mkmk" command (with -u and -ge option), this compiles the framework.... 4. Compile error appears: ## start step: compilation at 01/19/2010-13:27:52 # make: FWTestFramework\CENTestModuler.m\src\CENEOlpMfgKinematics.cpp # make-ERROR: FWTestFramework\CENTestModuler.m\src\CENEOlpMfgKinematics.cpp CENEOlpMfgKinematics.cpp z:\b20_32bit\dnbdeviceinterfaces\publicinterfaces\dnbdevicetype. h(11) : error C2365: 'Unknown' : redefinition; previous definition was 'enumerator' e:\programme\microsoft visual studio 8\vc\platformsdk\include\winioctl.h(825) : see declaration of 'Unknown' # make: FWTestFramework\CENTestModuler.m\LocalGenerated\intel_a\mkCAAV5L icensing.cpp mkCAAV5Licensing.cpp Very Important: Use the "mkmk" command with -u and -ge option when compiling the framework. If not the error does not appear. see attached AVI.
Local fix
empty
Problem summary
Problem is on R20 GA. You can reproduce by compiling attached small Workspace. 1. Extract the give B20-Test_Wks.zip and open the Workspace with the visual studio CAA Addin "Open CAA V5 Workspace" 2. Run "Locate Prerequisit Workspaces", choose CATIA R20 as Prerequisit 3. run the "mkmk" command (with -u and -ge option), this compiles the framework.... 4. Compile error appears: ## start step: compilation at 01/19/2010-13:27:52 # make: FWTestFramework\CENTestModuler.m\src\CENEOlpMfgKinematics.cpp # make-ERROR: FWTestFramework\CENTestModuler.m\src\CENEOlpMfgKinematics.cpp CENEOlpMfgKinematics.cpp z:\b20_32bit\dnbdeviceinterfaces\publicinterfaces\dnbdevicetype. h(11) : error C2365: 'Unknown' : redefinition; previous definition was 'enumerator' e:\programme\microsoft visual studio 8\vc\platformsdk\include\winioctl.h(825) : see declaration of 'Unknown' # make: FWTestFramework\CENTestModuler.m\LocalGenerated\intel_a\mkCAAV5L icensing.cpp mkCAAV5Licensing.cpp Very Important: Use the "mkmk" command with -u and -ge option when compiling the framework. If not the error does not appear. see attached AVI.
Problem conclusion
THE PROBLEM WAS SUBMITTED ON : Virtual Design VERSION V5R20. THIS PROBLEM IS NOT REPRODUCIBLE ON : Virtual Design VERSION V5R21 GA level Additional Closure Information: We are able to reproduce the problem and we understand the fix. However, in R20 the fix will have wide implication since lot of products will have wide implication. Hence in R20, due to the risks involved, we offer a workaround whereas in R21 we will completely fix the issue. Please also note that the compilation problem exists only with ???-ge??? option but not reproducible with any other option. While this issues needs to be fixed, our understanding is that this issue does not cause a production stoppage since the partner code can be built and debugged using ???-ug??? option. By-pass The workaround in R20 is as given below (if the user has to use ???-ge??? option). For other options the compilation error is not detected. #define Unknown DEL_Unknown #include "DNBDeviceType.h" #undef Unknown
Temporary fix
Comments
APAR Information
APAR number
HD93628
Reported component name
CATIA V5 NT>XP
Reported component ID
569151000
Reported release
520
Status
CLOSED UR1
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-02-15
Closed date
2011-11-04
Last modified date
2011-11-04
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
CATIA V5 NT>XP
Fixed component ID
569151000
Applicable component levels
R521 PSN
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSVJ2K","label":"CATIA"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"520","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
04 November 2011