------- Comment #5 from rguenth at gcc dot gnu dot org 2010-09-08 10:42 ------- (In reply to comment #4) > (In reply to comment #3) > > (In reply to comment #2) > > > The case that apply here is discussed in point 3: > > > > > > #3: ... For a given entity, each definition > > > must be the same. ... > > > > But this applies only to "[...] types, templates, and extern inline > functions". > > My case is about non-extern inline functions, which "in different translation > units are different entities, even if their names and types are the same."
Your inline functions are extern, not static. Make them static and it will work. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45594