openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openexr-devel] [PATCH] Missing std::flush in half generator tools


From: Carsten Neumann
Subject: [Openexr-devel] [PATCH] Missing std::flush in half generator tools
Date: Thu, 23 Feb 2012 18:04:45 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120131 Thunderbird/10.0

        Hello,

I've been playing around with creating a cmake based build for the libraries and stumbled over a little problem when running the generators (eLut.cpp, toFloat.cpp) under Windows from a build rule:
the generated eLut.h was empty.
Attached patch fixes the problem for me, by flushing cout at the end of the program [1].

        Cheers,
                Carsten

[1] I don't know if the C++ runtime is supposed to do this automatically, but it seems not to do it on my system (Windows 7, 64 bit, VS 2010).

Attachment: half.generators.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]