Program Listing for File C++_include_files.h#
↰ Return to documentation for file (src/frontend/SageIII/C++_include_files.h)
// These cpp declarations control the use of different versions of STL
// each STL version has different ways (names) of including files etc.
// These are set by the configuration mechanism for ROSE.
#if 0
#ifndef STL_LIST_IS_BROKEN
#include <list>
// #include STL_LIST_HEADER_FILE
#endif
#ifndef STL_VECTOR_IS_BROKEN
#include <vector>
// #include STL_VECTOR_HEADER_FILE
#endif
// using namespace std;
#ifndef NAMESPACE_IS_BROKEN
// DQ (12/30/2005): This is a Bad Bad thing to do (I can explain)
// it hides names in the global namespace and causes errors in
// otherwise valid and useful code. Where it is needed it should
// appear only in *.C files (and only ones not included for template
// instantiation reasons) else they effect user who use ROSE unexpectedly.
// using namespace std;
#endif
#endif
// DQ (5/27/2007): I don't think we need this! And if not we don't need this whole file
// except maybe as a place to put header file that does not force fixing up Rosetta to
// generate the separate header file includes directly.
// BP : 10/25/2001, needed for getcwd
// #include <unistd.h>
// DQ (5/27/2007): Commented out since this header file has been removed
// This is a base class used in the classes generated by ROSETTA
// #include "grammarBaseClass.h"