Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ALed.hpp won't include!

Status
Not open for further replies.

BorlandDave

Programmer
Jun 13, 2005
86
GB
I have a multi-project workspace in Borland C++ Builder 5. One of the projects has a few .h files that have ALed.hpp as an include. This project builds fine.

The remaining projects build fine too... except one. When attempting a build on this project, errors are found when trying to include ALed.hpp in the .h files that aren't even in this project!

This seems very strange to me. Can anyone shed any light on the matter? Cheers.
 
My first quess is that this header is in the compiler's list of libraries. Open BCB, Go to Tools -> Environment Options. Click on the Library tab. Click the button next to the Library Path input. This will list all the paths that BCB looks for.

My second guess is that maybe you are including some header/library that is also looking for this header.



James P. Cottingham
-----------------------------------------
I'm number 1,229!
I'm number 1,229!
 
It isn't on the list :-(

How do I find out if other headers are including it? A find-in-files didn't bring anything up.
 
Is there some sort of compiler directive I can use like: "include if not already included"?
 
Ok I solved it. It turns out there was an error elsewhere in the code and Borland was just throwing up an error in the wrong place. I hate it when that happens!

Cheers for your help anyway 2ffat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top