[osg-submissions] msvc 7.1 compile

Mathias Fröhlich M.Froehlich at science-computing.de
Fri Jun 27 08:51:31 PDT 2008


Hi Robert,

Update to the configure check for msvc 7.1.
MemoryBarrier() is used in the implementation, so it should be checked.
This in effect disables the faster atomic ops on msvc 7.1 and older, even if 
only the MemoryBarrier() call is missing. But it ensures for the fist cut 
that it will build everywhere. If somebody cares for msvc 7.1 enough and has 
one for testing installed, he might provide the apropriate defines to guard 
that MemoryBarrier() call.

I tested that msvc8 32/64bit still passes the configure tests and compiles.

Attached a change to the configure check based on rev 8508.

Greetings and nice Weekend!

Mathias

-- 
Dr. Mathias Fröhlich, science + computing ag, Software Solutions
Hagellocher Weg 71-75, D-72070 Tuebingen, Germany
Phone: +49 7071 9457-268, Fax: +49 7071 9457-511
-- 
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Florian Geyer,
Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Prof. Dr. Hanns Ruder
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: CheckAtomicOps.cmake
Type: text/x-csrc
Size: 2429 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080627/aae12ecb/attachment.c>


More information about the osg-submissions mailing list