This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
This is the resubmission of a very simple patch to automatically recognice files ending .hp,.hxx,.hpp,h++,.HPP as C++ headers. (As we accept .cc,.cp,.cxx,.cpp,.C,.c++,.CPP for C++ sources) usefull for PCH generation. First submitted 2003 and accepted. http://gcc.gnu.org/ml/gcc-patches/2004-01/msg01210.html Copyright assignment is done. Benjamin Kosnik has later requested another C++ header type for template instantiation headers: tcc. Included in this updated patch. gcc/gcc/cp/Changelog ---- 2007-02-04 Alfred Minarik <a.minarik@aon.at> * lang-specs.h: Add .hp,.hxx,.hpp,.h,.HPP,.tcc as c++ header * g++spec.c (lang_specific_driver): check them. ---- gcc/gcc/Changelog ---- 2007-02-04 Alfred Minarik <a.minarik@aon.at> * doc/invoke.texi: Add .hp,.hxx,.hpp,.h,.HPP,.tcc as c++ header ---- tested on i686-pc-linux-gnu (no regressions) OK ? (I have no SVN write permission) -Alfred
Attachment:
pr13676.patch
Description: Binary data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |