Kay Sievers <[email protected]> writes: > On Wed, Apr 17, 2013 at 6:08 PM, Henrik Grindal Bakken <[email protected]> > wrote: >> ExecContext isn't used in this header file, and everything seems to >> build just fine without this typedef. The typedef doesn't really belong >> here, and at least my gcc-4.4.6 gives an error on type redefined. > > Weird, this type of forward-declaration is a common pattern.
A closer look reveals that gcc warns in gcc-4.4, but not in gcc-4.7. -- Henrik Grindal Bakken <[email protected]> PGP ID: 8D436E52 Fingerprint: 131D 9590 F0CF 47EF 7963 02AF 9236 D25A 8D43 6E52 _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
