A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by sova » Mon Aug 05, 2013 5:57 am
I cannot compile dCustomJoints with gcc and cannot fix it.
Julio, please don't use so much templates and subclassing...
I like templates, but I think they should be avoided wherever possible to avoid!
-
sova
-
- Posts: 23
- Joined: Mon Mar 05, 2012 8:58 am
by Julio Jerez » Mon Aug 05, 2013 6:59 am
What do you mean you can not compile in GCC? there is a Linux make file that uses GCC, did you try that?
also the make build uses GCC.
I have no build version 3.11 in Linux maybe I added a new incompatibility, what error are you getting?
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by Julio Jerez » Mon Aug 05, 2013 8:03 am
Ha, your are right. I forget the prequalify the pointer with the typename keyword
I fixed now, please sync an dtry again.
As for template, you are righ the support libraries can be coded with not using templates, but It will be a nightmare of casting all over the place
Imagine coding and application not using vector, list, or maps.
for the engine I the same, it those container are sub class of list, and maps
I am afraid I am too much invested into C++ now to even imaging coding without using templates.
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by sova » Mon Aug 05, 2013 8:25 am
Julio Jerez wrote:Ha, your are right. I forget the prequalify the pointer with the typename keyword
I fixed now, please sync an dtry again.
Thanks, Julio.
Julio Jerez wrote:I am afraid I am too much invested into C++ now to even imaging coding without using templates.
https://en.wikipedia.org/wiki/Object-or ... #Criticism 
-
sova
-
- Posts: 23
- Joined: Mon Mar 05, 2012 8:58 am
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 0 guests