[Bug c++/27935] gcc fails to compile code with operator delete(void*,size_t)

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #11 from ebotcazou at gcc dot gnu dot org 2007-05-17 16:13 --- *** Bug 29045 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27935

[Bug c++/27935] gcc fails to compile code with operator delete(void*,size_t)

2006-08-20 Thread quanah at stanford dot edu
--- Comment #10 from quanah at stanford dot edu 2006-08-21 06:28 --- MySQL compiles fine with gcc3.3 and gcc3.4, so this is definately a problem in 4.0.3 itself. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27935

[Bug c++/27935] gcc fails to compile code with operator delete(void*,size_t)

2006-08-20 Thread quanah at stanford dot edu
--- Comment #9 from quanah at stanford dot edu 2006-08-21 05:17 --- I am hitting this bug in gcc 4.0.3, trying to compile MySQL 5.0.19 and 5.0.24. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27935

[Bug c++/27935] gcc fails to compile code with operator delete(void*,size_t)

2006-06-08 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2006-06-08 14:32 --- Works in 4.2.0 20060507 and 4.1.0 20060208 and 4.1.2 20060529. And works as of today in 4.1.2 20060608 so this is still invalid. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27935

[Bug c++/27935] gcc fails to compile code with operator delete(void*,size_t)

2006-06-08 Thread charles at kde dot org
--- Comment #7 from charles at kde dot org 2006-06-08 13:04 --- Created an attachment (id=11635) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11635&action=view) compiles on 4.0 just #include -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27935

[Bug c++/27935] gcc fails to compile code with operator delete(void*,size_t)

2006-06-07 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-06-08 00:33 --- (In reply to comment #5) > gcc version 4.1.2 20060604 (prerelease) (Debian 4.1.1-2) Can you provide a source which cause does not error out because size_t? -- pinskia at gcc dot gnu dot org changed:

[Bug c++/27935] gcc fails to compile code with operator delete(void*,size_t)

2006-06-07 Thread Woebbeking at web dot de
--- Comment #5 from Woebbeking at web dot de 2006-06-07 20:30 --- FYI, it doesn't work in gcc version 4.1.2 20060604 (prerelease) (Debian 4.1.1-2) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27935

[Bug c++/27935] gcc fails to compile code with operator delete(void*,size_t)

2006-06-07 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-06-07 16:54 --- This works for me so closing as invalid. And yes I changed ~a to virtual ~a also and it still works. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/27935] gcc fails to compile code with operator delete(void*,size_t)

2006-06-07 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-06-07 16:50 --- It also works in 4.1.2 20060529 and in 4.2.0 20060604. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27935

[Bug c++/27935] gcc fails to compile code with operator delete(void*,size_t)

2006-06-07 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-06-07 16:47 --- Actually my testcase is invalid as "unsigned int" is not always size_t. In fact if I change it to "unsigned long" for x86_64 and PPC-darwin, it passes in 4.1.0 20060208 and 4.2.0 20060507. -- http://gcc.gnu.org

[Bug c++/27935] gcc fails to compile code with operator delete(void*,size_t)

2006-06-07 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-06-07 16:44 --- A full testcase: struct a { void operator delete (void*, unsigned int); ~a(); }; void g(a *b) { delete b; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27935