mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
Custom string handling code enabled by OptJr macro removed from implementation of strings in TCollection and elsewhere. Functions from string.h are used instead of macros from Standard_String.hxx File Standard_String.hxx and methods ISSIMILAR and HASHCODE of TCollection*String classes are removed (to be replaced by strcasecmp). Functions HashCode for strings reimplemented using DJB2 algorithm for C strings and SDBM algorithm for extended strings. Adding test cases and draw-command for issue CR11758 Fix misprint added with previous integration Fix misprint in the test command. Remove compilation warnings (Linux). Avoid compiler warning "dereferencing type-punned pointer will break strict-aliasing rules" on Linux
11 lines
296 B
Plaintext
Executable File
11 lines
296 B
Plaintext
Executable File
puts "======="
|
|
puts "OCC11758"
|
|
puts "======="
|
|
puts ""
|
|
########################################################################### TCollection strings are not memory safe as reported by Purify
|
|
###########################################################################
|
|
|
|
pload QAcommands
|
|
|
|
OCC11758
|