lorenzo-rovigatti / oxDNA

A new version of the code to simulate the oxDNA/oxRNA models, now equipped with Python bindings
https://dna.physics.ox.ac.uk/
GNU General Public License v3.0
38 stars 26 forks source link

Solves variadic error caused by clang compilers. #77

Closed Subhajit-Roy-Partho closed 8 months ago

Subhajit-Roy-Partho commented 8 months ago

Passing std::string to oxDNAException and OX_LOG results in compilation error in many of the clang compiler. Converting it to c string solves the problem.

I encountered the error in clang15 apple-darwin23.1.0.

lorenzo-rovigatti commented 8 months ago

Thank you very much for taking the time to fix this issue!

Subhajit-Roy-Partho commented 8 months ago

Happy to help.