Watch, Follow, &
Connect with Us
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
This structure definition break (crush) the compiler process:

typedef struct
    short A;  
     unsigned char Alo;
     unsigned char Ahi;
    short B;
     unsigned char Blo;
     unsigned char Bhi;
  float FloatParam;
  int   IntParam;
unsigned char FunRecordType;

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

henk holterman at 10/15/2005 4:22:48 AM -

you may want to change the Project and Version field of this report....


Server Response from: ETNACODE01