team-dijkstra / Act-Out-gamelib

The main repo. Houses all production and test code.
GNU Lesser General Public License v3.0
0 stars 0 forks source link

fix name lookup errors on gcc 4.4.6. #79

Open matt-voroney opened 11 years ago

matt-voroney commented 11 years ago

gcc complains about ambiguous operator overloads. I suspect that this is a lookup bug since the rules haven't changed, but the same code compiles and runs fine on gcc 4.6.1. We can probably fix this by introducing a namespace and hence forcing Koenig lookup.

related to issue #78

matt-voroney commented 11 years ago

It looks like this version of g++ isn't too good with function template lookups. Will try using a wrapper class instead.