public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/41185]  New: size of array ... has non-integral type ...
@ 2009-08-29  8:11 pluto at agmk dot net
  2009-08-29  8:15 ` [Bug c++/41185] " pluto at agmk dot net
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: pluto at agmk dot net @ 2009-08-29  8:11 UTC (permalink / raw)
  To: gcc-bugs

hi,

during compiling bmpx package (http://bmpx.backtrace.info/site)
i get an error with gcc-4.4.1:

ui-part-library.cc:512: error:
size of array 'i_toplevel' has non-integral type
'Gtk::TreeModelColumn<Bmp::AlbumArtist>'

here's the line that confuses compiler:

UID uid(
  Bmp::AlbumArtist(
    (*i_toplevel)[mStoreArtistCR.artist]
  ).bmpx_album_artist_id);

the minor reorganization of code:

Bmp::AlbumArtist aa((*i_toplevel)[mStoreArtistCR.artist]);
UID uid(aa.bmpx_album_artist_id);

and it compiles w/o errors.
mentioned error didn't occur in gcc-4.3.x. new 4.4 regression?


-- 
           Summary: size of array ... has non-integral type ...
           Product: gcc
           Version: 4.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at agmk dot net
 GCC build triplet: x86_64-gnu-linux
  GCC host triplet: x86_64-gnu-linux
GCC target triplet: x86_64-gnu-linux


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


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

end of thread, other threads:[~2010-03-30 21:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-29  8:11 [Bug c++/41185] New: size of array ... has non-integral type pluto at agmk dot net
2009-08-29  8:15 ` [Bug c++/41185] " pluto at agmk dot net
2010-03-09 19:35 ` pluto at agmk dot net
2010-03-09 19:42 ` paolo dot carlini at oracle dot com
2010-03-09 22:14 ` pluto at agmk dot net
2010-03-09 22:15 ` pluto at agmk dot net
2010-03-09 22:21 ` pinskia at gcc dot gnu dot org
2010-03-09 22:23 ` pinskia at gcc dot gnu dot org
2010-03-09 22:43 ` [Bug c++/41185] [4.4/4.5 regression] " jason at gcc dot gnu dot org
2010-03-10 16:36 ` rguenth at gcc dot gnu dot org
2010-03-30 21:20 ` jason at gcc dot gnu dot org
2010-03-30 21:21 ` jason at gcc dot gnu dot org
2010-03-30 21:23 ` jason 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).