Grazie, faro' un commit al piu' presto.
Luca Colombini wrote:
> Ok! Con il cast a float funziona tutto!
> Mi scuso per il mio compilatore. Lui poverino l'han fatto così! :-))
>
> A parte gli scherzi, adesso non ci sono ne errori ne warnong di nessun
> genere.
>
> Ciao.
>
> /-------Messaggio originale-------/
>
> /*Da:*/ Gfrei Andreas <mailto:gfr...@gm...>
> /*Data:*/ 01/31/07 13:47:56
> /*A:*/ Meshlab development list <mailto:mes...@li...>
> /*Oggetto:*/ Re: [Meshlab-devel] Rif: Re: [meshlab-devel] errore in
> editpaint
>
> Certo che il tuo compilatore e' proprio pignolo, fai un cast a float e
> se non gli piace a double:
>
> Float radius=sqrt((float)(p.x()*p.x()+p.y()*p.y()));
>
> Farei un commit, ma prima vorrei assicurarmi che tutti gli errori siano
> spariti, quindi ti prego di vedere se e' l'ultimo errore o se ce ne sono
> altri di questo tipo.
>
>
> Luca Colombini wrote:
>>
>> //
>> />Puoi assicurarti prima che hai I sorgenti piu' aggiornati, se si nella/
>> /Riga 411 dovrebbe esserci:/
>> / /
>> />QPoint circle_points[PEZ];/
>>
>> Ho fatto l'update nuovamente, per sicurezza, e la riga con l'errore è
>> quella;
>>
>>> /Puoi provare a mettere il valore 56 al posto di PEZ /
>> //
>> Fatto. Purtroppo non compila....
>> Mettendo il valore 56 viene dato il seguente errore:
>> L'errore sparisce... Ma ho visto che in ogni caso rimane un errore (che
>> prima non avevo visto, pensando che dipendesse dal precedente.)
>> C:\meshlab\src\meshlabplugins\editpaint\editpaint.cpp(832): error C2668:
>> 'sqrt' : ambiguous call to overloaded function
>>
>> La riga interessata è la seguente:
>>
>> Float radius=sqrt(p.x()*p.x()+p.y()*p.y());
>>
>>
>> /> Altrimenti mandami l'intero messaggio d'errore/
>> /Della compilazione/
>> Questo è l'errore che vienre restituito se cancello PEZ e lo sostituisco
>> con 56.
>>
>> C:\meshlab\src\meshlabplugins\editpaint\editpaint.h(167): warning C4018:
>> '<' : signed/unsigned mismatch
>> C:\meshlab\src\meshlabplugins\editpaint\editpaint.cpp(145): warning
>> C4100: 'ac' : unreferenced formal parameter
>> C:\meshlab\src\meshlabplugins\editpaint\editpaint.cpp(223): warning
>> C4100: 'm' : unreferenced formal parameter
>> C:\meshlab\src\meshlabplugins\editpaint\editpaint.cpp(556): warning
>> C4018: '<' : signed/unsigned mismatch
>> C:\meshlab\src\meshlabplugins\editpaint\editpaint.cpp(644): warning
>> C4018: '<' : signed/unsigned mismatch
>> C:\meshlab\src\meshlabplugins\editpaint\editpaint.cpp(722): warning
>> C4018: '<' : signed/unsigned mismatch
>> C:\meshlab\src\meshlabplugins\editpaint\editpaint.cpp(711): warning
>> C4100: 'm' : unreferenced formal parameter
>> C:\meshlab\src\meshlabplugins\editpaint\editpaint.cpp(832): error C2668:
>> 'sqrt' : ambiguous call to overloaded function
>> C:\meshlab\src\meshlabplugins\editpaint\editpaint.cpp(993): warning
>> C4018: '<' : signed/unsigned mismatch
>> C:\meshlab\src\meshlabplugins\editpaint\editpaint.cpp(1012): warning
>> C4018: '<' : signed/unsigned mismatch
>>
>>
>> <>
>>
>>
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
>> opinions on IT & business topics through brief surveys - and earn cash
>>
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Meshlab-devel mailing list
>> Mes...@li...
> <mailto:Mes...@li...>
>> https://lists.sourceforge.net/lists/listinfo/meshlab-devel
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
> _______________________________________________
> Meshlab-devel mailing list
> Mes...@li...
> <mailto:Mes...@li...>
> https://lists.sourceforge.net/lists/listinfo/meshlab-devel
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.17.14/658 - Release Date:
> 29/01/2007 14.49
>
>
>
> <>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Meshlab-devel mailing list
> Mes...@li...
> https://lists.sourceforge.net/lists/listinfo/meshlab-devel
|