← Back to team overview

yade-dev team mailing list archive

Re: PFV defines TEMPLATE_FLOW_NAME

 

2014-06-20 17:59 GMT+02:00 Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx>:
> Did you really observe compilation problems with chunksize>1??
> I didn't expect the previous method to break it.

Yes, you can try to compile previous versions with CHUNKSIZE=10.
cpp-files are united together. Each of them requires including of its
"own" hpp, which is prevented by "#pragma once". So you are getting
just one hpp for all of engines. It breaks the logic.

Well, joining cpp-files like we do it by chunks is not quite correct also,
but we have it, so we need to maintain it as well.

Regards

Anton


Follow ups

References