[Bug c++/38759] New: Incorrect warning/error when compiling with a typedef'ed ptr return type

2009-01-07 Thread gnu at bluedreamer dot com
When a pointer to type is typedef'ed to a new type gcc incorrectly warns about const modifier if new typedef is used in function return type. gcc info: dluadrianc:/home/adrianc gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc-4.3.1/configure --prefix=/usr

Re: [Bug c++/38759] New: Incorrect warning/error when compiling with a typedef'ed ptr return type

2009-01-07 Thread Andrew Thomas Pinski
On Jan 7, 2009, at 12:44 PM, gnu at bluedreamer dot com gcc-bugzi...@gcc.gnu.org wrote: When a pointer to type is typedef'ed to a new type gcc incorrectly warns about const modifier if new typedef is used in function return type. gcc info: dluadrianc:/home/adrianc gcc -v Using built-in