1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/fclasses/bug24537
rkv 10a4116e31 0024537: GCC compiler warnings in byte order reversion code
Eliminate warnings in byte order inversion functionality by using unions.
Add test case simulating conversion to big endian.
2015-09-24 14:17:41 +03:00

16 lines
601 B
Plaintext

puts "================"
puts "OCC24537"
puts "================"
puts ""
#######################################################################
# GCC compiler warnings in byte order reversion code.
# The matter of this test is to ensure correctness of work of the methods
# (in the file FSD_FileHeader.hxx) of inversion of numbers between little/big endian.
# Attention! The test is created for working on a little endian platform.
#######################################################################
pload QAcommands
# The following command gives an error output if conversion is wrong
OCC24537