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/Pragmas
[ Add a report in this area ]
Report #:
18534
Status:
Closed
(Pulled) #pragma message will get a warning if the message is a macro-expansion (#define) that is not a constant string. It would be n
Project:
C++Builder
Build #:
4.0.14.11
Version:
4.0
Submitted By:
John Kaster
Report Type:
Suggestion / Enhancement Request
Date Reported:
9/24/1999 12:00:00 AM
Severity:
Commonly encountered problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
All versions
Internal Tracking #:
71705
Resolution:
Retest
(Resolution Comments)
Resolved in Build:
:
10.0.2098.14501
Duplicate of:
None
Voting and Rating
Overall Rating:
No Ratings Yet
0.00 out of 5
Total Votes:
None
Description
#pragma message will get a warning if the message is a macro-expansion (#define) that is not a constant string.
It would be nice if the #defined value could be another data type, like an int, that the string value could be taken from.
Steps to Reproduce:
#define Test 1
#pragma message (Test)
- this will give you a Ill-formed pragma
It would be cool if 1 could be cast to a "1" and expanded in the #pragma message.
Workarounds
None
Attachment
N
Comments
None
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