Commited some tweaks now. No forward declaration is there and no gcc warnings shall be triggered now.
On Tue, Jun 25, 2013 at 1:47 PM, Sergey Sharybin <[email protected]>wrote: > Strange, there're no warnings here. Perhaps depends on version or building > flags (using pretty strict flags tho). > > Guess better to just include DNA_scene_types.h in files which includes > ED_object.h. Currently in the middle of other patch, so couldn't do it by > self atm.. > > > On Tue, Jun 25, 2013 at 1:33 PM, Antony Riakiotakis <[email protected]>wrote: > >> If the enum is not defined there are a lot of warnings in gcc. There's two >> ways to deal with that, either use an integer in function definition or >> include the definition of the enum before including the function header. >> _______________________________________________ >> Bf-committers mailing list >> [email protected] >> http://lists.blender.org/mailman/listinfo/bf-committers >> > > > > -- > With best regards, Sergey Sharybin > -- With best regards, Sergey Sharybin _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
