[wwwdocs] gcc-4.7/porting_to.html

Submitted by Benjamin Kosnik on Jan. 12, 2012, 1:12 a.m.

Details

Message ID 20120111171259.234934ee@shotwell
State New
Headers show

Commit Message

Benjamin Kosnik Jan. 12, 2012, 1:12 a.m.
validation fixups...

-benjamin

Patch hide | download patch | download mbox

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); }