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]

Re: [wwwdocs] gcc-4.7/porting_to.html


validation fixups...

-benjamin
2012-01-11  Benjamin Kosnik  <bkoz@redhat.com>

        * htdocs/gcc-4.7/porting_to.html: Fixup for validation.


Index: htdocs/gcc-4.7/porting_to.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.7/porting_to.html,v
retrieving revision 1.1
diff -c -p -r1.1 porting_to.html
*** htdocs/gcc-4.7/porting_to.html	12 Jan 2012 00:08:30 -0000	1.1
--- htdocs/gcc-4.7/porting_to.html	12 Jan 2012 01:09:24 -0000
*************** longer compile. For example, code such a
*** 133,139 ****
  </p>
  
  <pre>
! template<typename T>
  int t(T i)
  { return f(i); }
  
--- 133,139 ----
  </p>
  
  <pre>
! template&lt;typename T&gt;
  int t(T i)
  { return f(i); }
  
*************** int
*** 169,175 ****
  f(int i)
  { return i; }
  
! template<typename T>
  int t(T i)
  { return f(i); }
  
--- 169,175 ----
  f(int i)
  { return i; }
  
! template&lt;typename T&gt;
  int t(T i)
  { return f(i); }
  

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]