Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

simulator.h lost chained reference to math.h

2 posters

Go down  Message [Page 1 of 1]

gmaltk



Hello,

Since Rev. 471 the file:
src/simulator/simulator.h
lost its chained reference to math.h through component.h and the compilation stops because of the pow() function (Ubuntu 21.04).

Thank you in advance,
Theodore K.

arcachofo

arcachofo

Thanks.
Should be solved at Rev 475.

But I can't test if reference to math.h is lost somewhere else.
In my system it compiled ok at Rev 471.

gmaltk



I just added math.h to simulator.h and compilation was successful.

Until Rev. 470 the chain was:

simulator.h > circmatrix.h > e-node.h > e-element.h > math.h

Thank you,
Theodore K.

arcachofo likes this post

arcachofo

arcachofo

I just added math.h to simulator.h and compilation was successful.
I didn't do this.
I moved pow() and added math.h to simulator.cpp to avoid unnecessary chained includes.

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum