This is the mail archive of the gcc-bugs@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] | |
gcc version: gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice) The examples provided below are entirely self contained... We get the following warning: In file included from /home/knight/code/Terminal/jexi/gcctest.cpp:1: /home/knight/code/Terminal/gcctest.h:30: warning: `typename Outer<T>::Inner' is implicitly a typename /home/knight/code/Terminal/gcctest.h:30: warning: implicit typename is deprecated, please see the documentation for details when compiling code that looks like this: The c++ for the template in gcctest.h seems standard to us. So what we want to know is who is at fault, gcc or us, and if us, what exactly is wrong/deprecated, and how we should write our code to keep gcc happy? We are happy to be at fault, if the fault is ours, so long as we can get a better idea of what we have done wrong. Carl Knight, Software Development Team Leader, Terminal Applications Group, TAB National Office, 106 - 110 Jackson St. Petone, Wellington. Ph. DDI +64 4 576 8484 Ph. Xtn. 6484 Fax. +64 4 576 6280 Mobile. (0274) 771 994 (See attached file: gcctest.h) (See attached file: gcctest.cpp) ********************************************************************** This email with any attachments is confidential and may be subject to legal privilege. If it is not intended for you please reply immediately, destroy it and do not copy, disclose or use it in any way. The views expressed in this email are not necessarily the views of the New Zealand TAB. **********************************************************************
Attachment:
gcctest.h
Description: Binary data
Attachment:
gcctest.cpp
Description: Binary data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |