Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
Compiler
C++
Front End
access
Bitfields
Destructors
Diagnostics
Exception Handling
Extensions
Initialization
Inline Assembly
Invocation
Language
Mangling Scheme
Namespaces
Object Generation
Overloading
Pragmas
Pre-Compiled Headers
Preprocessor
Refactoring
RTTI
Templates
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/Compiler/C++/Front End/Language
[ Add a report in this area ]
Report #:
66863
Status:
Open
protected field not accessable from within class.
Project:
C++Builder
Build #:
6001
Version:
12.0
Submitted By:
Chris Bruner
Report Type:
Basic functionality failure
Date Reported:
9/16/2008 11:07:38 PM
Severity:
Commonly encountered problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
32 Bit
Internal Tracking #:
265329
Resolution:
None
(Resolution Comments)
Resolved in Build:
:
None
Duplicate of:
None
Voting and Rating
Overall Rating:
No Ratings Yet
0.00 out of 5
Total Votes:
None
Description
From the Ogre library,
an enum defined within the protected section of the class cannot be seen from a struction also defined within the same class.
Steps to Reproduce:
class _OgreExport Compiler2Pass : public ScriptTranslatorAlloc
{
protected:
// BNF operation types
enum OperationType {otUNKNOWN, otRULE, otAND, otOR, otOPTIONAL,
otREPEAT, otDATA, otNOT_TEST, otINSERT_TOKEN, otEND};
/** structure used to build rule paths
*/
struct TokenRule
{
OperationType operation;
size_t tokenID;
TokenRule(void) :
operation(otUNKNOWN), tokenID(0) {}
TokenRule(const OperationType ot, const size_t token)
: operation(ot), tokenID(token) {}
};
[BCC32 Error] OgreCompiler2Pass.h(169): E2247 'Compiler2Pass::otUNKNOWN' is not accessible
Workarounds
None
Attachment
None
Comments
Fraser Ross at 9/27/2008 11:12:25 AM
-
This is a duplicate of 60577.
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