]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
invoke.texi (ms-extension): Add documentation.
authorKai Tietz <kai.tietz@onevision.com>
Tue, 17 Aug 2010 09:54:12 +0000 (09:54 +0000)
committerKai Tietz <ktietz@gcc.gnu.org>
Tue, 17 Aug 2010 09:54:12 +0000 (11:54 +0200)
2010-08-17  Kai Tietz  <kai.tietz@onevision.com>

        * doc/invoke.texi (ms-extension): Add documentation.

From-SVN: r163301

gcc/ChangeLog
gcc/doc/invoke.texi

index f46429ee208d2084b278830f7f08861dd746bda1..6bedb9533bfdb074ee2b09d5343bdd6945934283 100644 (file)
@@ -1,3 +1,7 @@
+2010-08-17  Kai Tietz  <kai.tietz@onevision.com>
+
+       * doc/invoke.texi (ms-extension): Add documentation.
+
 2010-08-17  Richard Guenther  <rguenther@suse.de>
 
        * fold-const.c (fold_comparison): Strip nops inside
index 6099b30b87a874319eb18de23519b9a288ec948e..b321ccee951a8d13c9956509f69f9b8ba26c40ec 100644 (file)
@@ -1685,6 +1685,16 @@ have support for @option{-pthread}.
 @opindex fms-extensions
 Accept some non-standard constructs used in Microsoft header files.
 
+It allows for c++ that member-names in structures can be similiar
+to previous types declarations.
+
+@smallexample
+typedef int UOW;
+struct ABC @{
+  UOW UOW;
+@};
+@end smallexample
+
 Some cases of unnamed fields in structures and unions are only
 accepted with this option.  @xref{Unnamed Fields,,Unnamed struct/union
 fields within structs/unions}, for details.