I was able to generate the 3 pairs of source files from the ansi-C grammar o. But when I created a Win32 Console project in VC 7.0 and tried to build it, I got the following errors:
"fatal error: c1189: No implementation for hash_map provided for this platoform, please replace this line with an appropriate one."
If I add the __GNUC__ precompiler header, I get a whole lot of other error message not to mention dozens of warnings.
So, my question is for those folks who are able to compile OK under VC 7.0, what did you do?
Thanks.
- pfhmks0
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That's just a problem with that particular example. I am using a hash_map for the symbol table. I haven't used VC in ages, but i am guessing there is some equivalent (hash_map was an SGI extension to the STL, so no wonder it doesn't exist on MSVC).
Anyway, the guilty lines are part of the 'user code' in that example, the code cppcc itself generates should compile fine.
Hope this clarifies matters a bit,
Alec.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I was able to generate the 3 pairs of source files from the ansi-C grammar o. But when I created a Win32 Console project in VC 7.0 and tried to build it, I got the following errors:
"fatal error: c1189: No implementation for hash_map provided for this platoform, please replace this line with an appropriate one."
If I add the __GNUC__ precompiler header, I get a whole lot of other error message not to mention dozens of warnings.
So, my question is for those folks who are able to compile OK under VC 7.0, what did you do?
Thanks.
- pfhmks0
Hi,
That's just a problem with that particular example. I am using a hash_map for the symbol table. I haven't used VC in ages, but i am guessing there is some equivalent (hash_map was an SGI extension to the STL, so no wonder it doesn't exist on MSVC).
Anyway, the guilty lines are part of the 'user code' in that example, the code cppcc itself generates should compile fine.
Hope this clarifies matters a bit,
Alec.