Dan East wrote:I just upgraded from PocketHAL 0.4 to 0.6. In 0.6 all your internal includes are using < > strings instead of "", which means that PocketHAL must be installed in an "official" header include path. I think you should change them all to local path includes so that the PocketHAL library can be placed anywhere (ie within the project source files, instead of the Pocket PC SDK directory).
If I remember the ANSI standard (in)correctly from those old days when I was writing compilers, it should not really matter. The rules are along the lines of "" includes vs. <> includes are evaluated in a different order, but for all practical purposes they should hit the same directories. The only rule that applies is that <> would not hit your current project directory. Or in the words of the IBM transliteration of the ANSI standard (CPI C Level 2; don't have the original ANSI document with me):
"If the file name is enclosed in double quotation marks, the preprocessor searches the place that contains the source file, then a standard or specified sequence of places until it finds the specified file.
If the file name is enclosed in the characters < and >, the preprocessor searches only the standard or specified places for the specified file."
"Standard places" corresponds to system library header directories (official in your terminology), "specified" to additional ones specified using -I or whatever your compiler uses as option.
Of course, VC might be broken here, but that would surprise me...
Just nitpicking...
- HM