Watch, Follow, &
Connect with Us
Public Report
Report From: C++BuilderX/IDE/Class Browser    [ Add a report in this area ]  
Report #:  11734   Status: Reported
Class browser doesn't 'look through' <include> macros
Project:  C++BuilderX/BC++ 2005 Build #:  1.0.0.1786
Version:    1.0 Submitted By:   Eric Sanford
Report Type:  Basic functionality failure Date Reported:  3/29/2005 5:21:34 PM
Severity:    Commonly encountered problem Last Updated:
Platform:    All versions Internal Tracking #:  
Resolution: None  Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: 5
Description
Class browser doesn't 'look through' <include> macros
Steps to Reproduce:
#define _STLP_NATIVE_C_HEADER(x) <../include/##x>
#include _STLP_NATIVE_C_HEADER(stdio.h)
int main() {
  printf("%s\n", "Hello World!");
  return 0;
}
Workarounds
#define _STLP_NATIVE_C_HEADER(x) <../include/##x>
#ifdef __BORLANDC__
# include <../include/stdio.h>
#else
# include _STLP_NATIVE_C_HEADER(stdio.h)
#endif
int main() {
  printf("%s\n", "Hello World!");
  return 0;
}
Attachment
None
Comments

None

Server Response from: ETNACODE01