lang-options.h: Add -fms-extensions.
authorJason Merrill <jason@yorick.cygnus.com>
Thu, 12 Aug 1999 06:52:30 +0000 (06:52 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 12 Aug 1999 06:52:30 +0000 (02:52 -0400)
commitd2c192ad64b8a1685abe92cd60bc4c496c315cea
treefe1d0b302af8614440b99979fc35a50e7fcad57b
parent631cf95d8e7cf756b209e2474483eac652d53203
lang-options.h: Add -fms-extensions.

* lang-options.h: Add -fms-extensions.
* cp-tree.h: Declare flag_ms_extensions.
* decl2.c: Define it.
* class.c (instantiate_type): Don't complain about taking the address
of a bound member function if -fms-extensions.
* typeck.c (build_unary_op): Likewise.
* decl.c (grokdeclarator): Or about implicit int.
* init.c (resolve_offset_ref): Or about implicit '&'.

From-SVN: r28684
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/init.c
gcc/cp/lang-options.h
gcc/cp/typeck.c