Author: dcoakley Date: 2010-12-17 00:52:22 -0500 (Fri, 17 Dec 2010) New Revision: 3438
Modified: trunk/osprey/common/com/symtab.h Log: Fix build failure with gcc-4.5.1 and recent changes to symtab_defs.h. In trunk commit r3435 a reference to std::ostream was added to symtab_defs.h. With older versions of gcc, the include of <ext/slist> in symtab.h indirectly included <iosfwd> which resolves the reference. With more recent versions of gcc, <ext/slist> does not include <iosfwd>. The fix is to explicitly include the file that is needed, <iosfwd>. Approved by: Suneel Jain Modified: trunk/osprey/common/com/symtab.h =================================================================== --- trunk/osprey/common/com/symtab.h 2010-12-17 02:34:55 UTC (rev 3437) +++ trunk/osprey/common/com/symtab.h 2010-12-17 05:52:22 UTC (rev 3438) @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009 Advanced Micro Devices, Inc. All Rights Reserved. + * Copyright (C) 2009-2010 Advanced Micro Devices, Inc. All Rights Reserved. */ /* @@ -49,7 +49,7 @@ // This file should contain only inlined functions for accessing various // fields in the symbol table classes. -#include <ext/slist> +#include <iosfwd> #ifndef segmented_array_INCLUDED #include "segmented_array.h" ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Open64-devel mailing list Open64-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open64-devel