------- Comment #4 from tbptbp at gmail dot com 2010-09-10 18:00 ------- (In reply to comment #2) > I think you need __attribute((aligned(16))) on the original forward declared > class too. As stated that does, indeed, fix it. So, ok, let's say previous versions were too permissive, then, the problem is with the extremely confusing and useless diagnostic: there's no warning with -Wall -Wextra about the declaration/definition mismatch, and a puzzling error about an unrelated foo(x, y) not matching foo(x, y).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45642