cloudcompare/trunk — pull request #61 by ndavid (2013-03-22 16:52:31+00:00)
Title: gcc4.7 compatibility, Name lookups in C++ templates add this-> for template method call

Hi
I'm compiling CloudCompare under a Debian Testing (wheezy). Default c/C++ compilator are now gcc/g++ 4.7. This last introduce some change on name lookups in C++ template. So when I enable Ransac plugins I have a lot of error looking like :

```
/CloudCompare_trunk/qCC/plugins/qRANSAC_SD/RANSAC_SD_orig/RansacShapeDetector.cpp:518:26: required from here
/CloudCompare_trunk/qCC/plugins/qRANSAC_SD/RANSAC_SD_orig/GfxTL/AACubeTree.h:315:4: error: ‘InitRoot’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/CloudCompare_trunk/qCC/plugins/qRANSAC_SD/RANSAC_SD_orig/GfxTL/AACubeTree.h:315:4: note: declarations in dependent base

... some template stuff ...

’ are not found by unqualified lookup
CloudCompare_trunk/qCC/plugins/qRANSAC_SD/RANSAC_SD_orig/GfxTL/AACubeTree.h:315:4: note: use ‘this->InitRoot’ instead
```

So I basically do all the change as suggest by gcc 4.7 and after some compilation/code change iterations everything is compiling.
You could see [stackoverflow] (http://stackoverflow.com/questions/10639053/name-lookups-in-c-templates) for related technical details.