|
From: Leandro M. de S. <lea...@gm...> - 2012-02-15 16:54:53
|
Hi guys, I'm trying to use opss, but when I type make to compile the source code the following message is shown: In file included from main.cpp:3:0: engine/Calendar.h: Na função membro ‘bool less_ev::operator()(Event*, Event*) const’: engine/Calendar.h:18:53: erro: cast from ‘Event*’ to ‘unsigned int’ loses precision [-fpermissive] engine/Calendar.h:18:90: erro: cast from ‘Event*’ to ‘unsigned int’ loses precision [-fpermissive] make: ** [main.o] Erro 1 My GCC version is 4.6.1. How to fix this? Thanks, Leandro. -- Leandro Melo de Sales PhD candidate in Computer Science Pervasive and Embedded Computing Laboratory, UFCG |