[ros-diffs] [hpoussin] 33627: Fix precompiled header name. According to http://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html , precompiled header name *must be* the name of the header followed by .gch See issue #3263 for more details.

hpoussin at svn.reactos.org hpoussin at svn.reactos.org
Wed May 21 20:00:41 CEST 2008


Author: hpoussin
Date: Wed May 21 13:00:40 2008
New Revision: 33627

URL: http://svn.reactos.org/svn/reactos?rev=33627&view=rev
Log:
Fix precompiled header name.
According to http://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html , precompiled header name *must be* the name of the header followed by .gch
See issue #3263 for more details.

Modified:
    trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp

Modified: trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp?rev=33627&r1=33626&r2=33627&view=diff
==============================================================================
--- trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp [iso-8859-1] (original)
+++ trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp [iso-8859-1] Wed May 21 13:00:40 2008
@@ -1250,7 +1250,7 @@
 		return NULL;
 	return new FileLocation ( IntermediateDirectory,
 	                          module.pch->file->relative_path,
-	                          ReplaceExtension ( module.pch->file->name, "_" + module.name + ".gch" ) );
+	                          module.pch->file->name + ".gch" );
 }
 
 Rule arRule1 ( "$(INTERMEDIATE)$(SEP)$(source_dir)$(SEP)$(source_name_noext).a: $($(module_name)_OBJS) | $(INTERMEDIATE)$(SEP)$(source_dir)\n",



More information about the Ros-diffs mailing list