Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
Compiler
C++
Back End
Debug Info
Front End
Interaction with the IDE
Modeling
MS Compat.
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/Compiler/C++/Interaction with the IDE
[ Add a report in this area ]
Report #:
20138
Status:
Closed
Structure definition with union/struct crash the compilation process
Project:
C++Builder
Build #:
10.166
Version:
10.0
Submitted By:
Juriy Gretchko
Report Type:
Crash / Data loss / Total failure
Date Reported:
10/15/2005 2:14:00 AM
Severity:
Infrequently encountered problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
All versions
Internal Tracking #:
235172
Resolution:
Fixed
(Resolution Comments)
Resolved in Build:
:
11.0.2672.6372
Duplicate of:
None
Voting and Rating
Overall Rating:
(1 Total Rating)
3.00 out of 5
Total Votes:
None
Description
This structure definition break (crush) the compiler process:
typedef struct
{
union
{
struct
{
union
{
short A;
struct
{
unsigned char Alo;
unsigned char Ahi;
};
};
union
{
short B;
struct
{
unsigned char Blo;
unsigned char Bhi;
};
};
};
float FloatParam;
int IntParam;
};
unsigned char FunRecordType;
} FUN_RECORD;
For details, see attachment with full project.
Steps to Reproduce:
Build the attached project
Notice that the dialog reports build completed sucessfully.
No object files or executable is created
Trying to run or trace into results in it trying to run, but nothing happens.
At a minimum, I would expect an error
Workarounds
None
Attachment
BCB_6_UNION_BUG.zip
Comments
henk holterman at 10/15/2005 4:22:48 AM
-
Juiry,
you may want to change the Project and Version field of this report....
-hh-
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us