[vtk-developers] Misinterpretation of a non-ascii character by MSVC
Berk Geveci
berk.geveci at kitware.com
Mon Jan 11 13:53:24 EST 2010
:-) This is one of the most amusing bugs I have seen recently. I have
no objection to remove the accent.
Thierry: do you want me to commit a fix or would you?
-berk
2010/1/11 Takuya OSHIMA <oshima at eng.niigata-u.ac.jp>:
> Hi,
>
> At line 2942 of VTK/Graphics/vtkYoungsMaterialInterface.cxx (that
> comes with ParaView 3.7-cvs as of today) there is a comment line
>
> // construction de la fonction cubique par morceau du volume tronque
>
> where the last 'e' is in fact an e with an accent aigu. By a Japanese
> version of MSVC (I use VS2008 SP1) the character, combined with the
> succeding newline character, is misinterpreted as a multi-byte
> Japanese symbol, which subsequently comments out the next for-clause
> as shown by the attached picture. Eventually, the misinterpretation
> causes an undeclared variable 'i' error at line 2945.
>
> I ask without knowing how important the accent aigu is for French but,
> can it be fixed somehow e.g. by changing to an e without an accent?
>
> Takuya
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>
More information about the vtk-developers
mailing list