@DrewPee, shockwave, Clyde :
Thanks

@Shockwave :
Hum perhaps it's my version which is outdated :p I'm running v0.18
@Clyde :
you don't use -lang fb by default ? Anyway I'm glad you found the solution

Oh and warning about constructors, I'm not sure all pointers are deallocated in the destructors, I should check that

edit :
Updated the source : added a destructor to the smoke udt to deallocate the particles