diff options
author | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-28 19:31:45 +0000 |
---|---|---|
committer | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-28 19:31:45 +0000 |
commit | 54f1c2a2c5c4df49e67836a17f164cbf88963cf9 (patch) | |
tree | 7c4b9efdf087040edf485f9a4ade49bcd415ba7f /gcc/c.opt | |
parent | c9bf2989adfc075506588bbbb6d183fce5b05460 (diff) | |
download | gcc-54f1c2a2c5c4df49e67836a17f164cbf88963cf9.tar.gz |
Index: gcc/ChangeLog
2007-06-21 Geoffrey Keating <geoffk@apple.com>
* doc/invoke.texi (C++ Dialect Options): Document
fvisibility-ms-compat.
* c.opt (fvisibility-ms-compat): New.
Index: gcc/cp/ChangeLog
2007-06-21 Geoffrey Keating <geoffk@apple.com>
* decl2.c (determine_visibility): Implement
flag_visibility_ms_compat effect on type info.
* decl.c (cxx_init_decl_processing): Implement
global effect of flag_visibility_ms_compat.
Index: gcc/testsuite/ChangeLog
2007-06-26 Geoffrey Keating <geoffk@apple.com>
* g++.dg/ext/visibility/ms-compat-1.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126088 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c.opt')
-rw-r--r-- | gcc/c.opt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/c.opt b/gcc/c.opt index 63e2bda5b42..fc19174442a 100644 --- a/gcc/c.opt +++ b/gcc/c.opt @@ -767,6 +767,10 @@ fvisibility-inlines-hidden C++ ObjC++ Marks all inlined methods as having hidden visibility +fvisibility-ms-compat +C++ ObjC++ Var(flag_visibility_ms_compat) +Changes visibility to match Microsoft Visual Studio by default + fvtable-gc C++ ObjC++ Discard unused virtual functions |