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: [WWW PATCH] [PR14618] Document new access checking performed by g++


Andrew Pinski wrote:

>> +   A(const A& );   // private copy ctor
>
> & should really be &

> This is because & is a special character in HTML and you
> make different characters with it like < &lt; and such.

Bien sure. It's just a warning with the verifier, but I have no problems
changing it. Committed as obvious.

Giovanni Bajo


Index: bugs.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/bugs.html,v
retrieving revision 1.85
diff -c -3 -p -r1.85 bugs.html
*** bugs.html 21 Mar 2004 02:10:01 -0000 1.85
--- bugs.html 23 Mar 2004 18:47:12 -0000
*************** public:
*** 699,709 ****
    A();

  private:
!   A(const A&);    // private copy ctor
  };

  A makeA(void);
! void foo(const A&);

  void bar(void)
  {
--- 699,709 ----
    A();

  private:
!   A(const A&amp;);   // private copy ctor
  };

  A makeA(void);
! void foo(const A&amp;);

  void bar(void)
  {
Index: gcc-3.4/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-3.4/changes.html,v
retrieving revision 1.105
diff -c -3 -p -r1.105 changes.html
*** gcc-3.4/changes.html 21 Mar 2004 01:03:03 -0000 1.105
--- gcc-3.4/changes.html 23 Mar 2004 18:47:13 -0000
***************
*** 545,555 ****
     A();

   private:
!    A(const A& );   // private copy ctor
   };

   A makeA(void);
!  void foo(const A& a);

   void bar(void)
   {
--- 545,555 ----
     A();

   private:
!    A(const A&amp;);   // private copy ctor
   };

   A makeA(void);
!  void foo(const A&amp;);

   void bar(void)
   {



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