mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Eliminate warnings in byte order inversion functionality by using unions. Add test case simulating conversion to big endian.
16 lines
601 B
Plaintext
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
|