What you need to compile and use libcgi++
alphabetic index hierarchy of classesTo compile and use libcgi++, the following are required:
- A C++ compiler that is not too far from the ANSI X3J16 standard; I used g++ 2.7.2 and with it the library should compile with no warnings. If you want to use exceptions, the compiler needs to support them as well.
- An implementation of the standard string class. If you're using the GNU C++ compiler, it comes with one. If you don't have one, you could try the implementation provided by Modena Software, Inc., called bstring.h.
- An implementation of the Standard Template Library (again, one does come with the GNU C++ compiler). The sources are available for free, but I don't think you'd like to compile it yourself.
Some other things you should know:
- Although g++ supports exceptions, if you're on HPs (PA-RISCs) they don't work (at least not for now).
- The use of exceptions is controlled by the USE_EXCEPTIONS preprocessor constant. Define it (use the `` -DUSE_EXCEPTIONS'' compiler flag) if you want exceptions.
- If you use a different compiler, implementation of the string class or implementation of the STL, you might have problems with the include names. The standard is pretty new and not all vendors agree with it.
generated by doc++