public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug pch/10470] spurious warning about "anonymous variadic macros were introduced in C99"
       [not found] <20030423214601.10470.wanderer@rsu.ru>
@ 2003-08-04  4:08 ` pinskia at physics dot uc dot edu
  2003-12-19 10:11 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-04  4:08 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10470


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|0000-00-00 00:00:00         |2003-08-04 04:08:23
               date|                            |


------- Additional Comments From pinskia at physics dot uc dot edu  2003-08-04 04:08 -------
It does warn in Apple's 3.3 based gcc (build 1409) with PCH in it.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug pch/10470] spurious warning about "anonymous variadic macros were introduced in C99"
       [not found] <20030423214601.10470.wanderer@rsu.ru>
  2003-08-04  4:08 ` [Bug pch/10470] spurious warning about "anonymous variadic macros were introduced in C99" pinskia at physics dot uc dot edu
@ 2003-12-19 10:11 ` pinskia at gcc dot gnu dot org
  2004-06-09 20:15 ` geoffk at gcc dot gnu dot org
  2004-07-10  0:54 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-19 10:11 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.0                       |---
            Version|unknown                     |3.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10470


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug pch/10470] spurious warning about "anonymous variadic macros were introduced in C99"
       [not found] <20030423214601.10470.wanderer@rsu.ru>
  2003-08-04  4:08 ` [Bug pch/10470] spurious warning about "anonymous variadic macros were introduced in C99" pinskia at physics dot uc dot edu
  2003-12-19 10:11 ` pinskia at gcc dot gnu dot org
@ 2004-06-09 20:15 ` geoffk at gcc dot gnu dot org
  2004-07-10  0:54 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 4+ messages in thread
From: geoffk at gcc dot gnu dot org @ 2004-06-09 20:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From geoffk at gcc dot gnu dot org  2004-06-09 20:15 -------
This is fixed by this change which I just committed to HEAD:

Index: gcc/ChangeLog
2004-06-09  Geoffrey Keating  <geoffk@apple.com>

        * Makefile.in (CPPLIB_H): Put files in order of inclusion.
        (CPP_ID_DATA_H): New.
        (gtype-desc.o): Update dependencies.
        (GTFILES): Use CPP_ID_DATA_H.

Index: gcc/testsuite/ChangeLog
2004-06-09  Geoffrey Keating  <geoffk@apple.com>

        * gcc.dg/pch/macro-4.c: New.
        * gcc.dg/pch/macro-4.hs: New.

Index: libcpp/ChangeLog
2004-06-09  Geoffrey Keating  <geoffk@apple.com>

        * traditional.c (push_replacement_text): Set macro->traditional.
        (save_replacement_text): Likewise.
        * pch.c (cpp_write_pch_state): Don't write list of defined macros.
        (struct save_macro_item): Delete.
        (struct save_macro_data): Use a character array not the previous
        structured format.
        (save_macros): Save macro as text not as internal structures.
        (cpp_prepare_state): Update for changes to save_macro_data.
        (cpp_read_state): Don't read macros defined in PCH.  Restore
        -D macros as text.
        * macro.c (create_iso_definition): Honour alloc_subobject.
        Clear traditional flag.
        (_cpp_create_definition): Honour alloc_subobject.
        * lex.c (cpp_token_val_index): New.
        * internal.h: Include cpp-id-data.h.
        (uchar): Move definition to cpp-id-data.h.
        (U): Likewise.
        (cpp_macro): Likewise.
        * directives.c (struct answer): Move to cpp-id-data.h.
        (do_assert): Honour alloc_subobject.

Index: libcpp/include/ChangeLog
2004-06-09  Geoffrey Keating  <geoffk@apple.com>

        * symtab.h (struct ht): Add field 'alloc_subobject'.
        * cpplib.h (struct cpp_string): Add GTY marker.
        (enum cpp_token_fld_kind): New.
        (struct cpp_token): Add GTY markers.
        (cpp_token_val_index): Prototype.
        (CPP_HASHNODE_VALUE_IDX): New.
        (struct cpp_hashnode): Don't skip fields of 'value' when marking.
        * cpp-id-data.h: New file.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10470


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug pch/10470] spurious warning about "anonymous variadic macros were introduced in C99"
       [not found] <20030423214601.10470.wanderer@rsu.ru>
                   ` (2 preceding siblings ...)
  2004-06-09 20:15 ` geoffk at gcc dot gnu dot org
@ 2004-07-10  0:54 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-10  0:54 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10470


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-07-10  0:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030423214601.10470.wanderer@rsu.ru>
2003-08-04  4:08 ` [Bug pch/10470] spurious warning about "anonymous variadic macros were introduced in C99" pinskia at physics dot uc dot edu
2003-12-19 10:11 ` pinskia at gcc dot gnu dot org
2004-06-09 20:15 ` geoffk at gcc dot gnu dot org
2004-07-10  0:54 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).