[vtkusers] Compilation Errors error: ISO C++ says that these are ambiguous, even though the worst convesion for the first is better than theworst conversion for the second

Luca Pallozzi Lavorante lucapl at rc.unesp.br
Thu Jul 21 08:41:33 EDT 2005


Hi Kent, I have successfully compiled VTK with the modifications you 
suggested.
Many thanks for your help.

     Luca

>>
>>
>> You didn't mention the compiler you are using; I assume its gcc.
>>
>> Edit places where "seekg" is called with its first argument equal to 
>> the sum of two or more terms (e.g., a+b or a+b+c). The fix is to just 
>> reverse the order of the terms (e.g., b+a or b+c+a). Changes will be 
>> needed in two places in each of two files, vtkBMPReader.cxx and 
>> vtkImageReader.cxx, found in VTK directory IO.
>>
>> The bug in the compiler was fixed but I don't know if its yet been 
>> released.
>>
>> Kent Eschenberg
>> Pittsburgh Supercomputing Center
>>
>
> _______________________________________________
> This is the private VTK discussion list. Please keep messages 
> on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>




More information about the vtkusers mailing list