Skip to content

[CMAKE] Upgrade to stlport 4.6.2 #1237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aliendroid1
Copy link

@aliendroid1 aliendroid1 commented Jul 7, 2025

Will upgrade to 5.2.1 soon but upgrading to 4.6.2 first makes it easier to make the changes needed for stlport 5.2.1 to work such as upgrading from the old c iostreams to the standard iostreams.

No need to apply the diff because the changes the diff made (mostly add pragma once) are already a part of stlport 4.6.2

STLport 4.6.2 / 4.6 Changelog

Changes in 4.6.2 since 4.6.1
  • threads.h:447: Fixed _NOTHREADS compilation error (thanks Wu Yongwei)
  • stl_solaris.h: Fixed pthreads compilation error
  • stl_msvc.h: Added #define _STLP_HAS_SPECIFIC_PROLOG_EPILOG for VC7.1
  • locale_impl.cpp: Fixed locale::classic() initialization
Changes in 4.6 since 4.5.3
  • A few ANSI conformance fixes (thanks Richard Peng)
  • Performance optimization for string::reserve (thanks Marc)
  • ICC patches applied (thanks Blaine Kubesh)
  • _thread.c, _thread.h: Merged thread redesign from CVS (thanks Petr Ovchenkov)
  • iostream.cpp, locale_impl.cpp: Static initialization made robust for dynamic loader circular dependencies (thanks Alexey Sarytchev)
  • _function.h: New workaround for mem_fun_* family for compilers with return void bug (thanks Pavel Kuznetsov)
  • stl_solaris.h: v8plus compilation fix (thanks Mukesh Kapoor)
  • num_put_float.cpp: FreeBSD fix
  • _construct.h: Fixed case for compilers with default integer constructor bug
  • fstream.cpp: Text file stream position bug correction (thanks Christopher Kohlert)
  • _num_put.c: Correction of display of min 64-bit signed integer values, e.g. numeric_limits<__int64>::min() on WIN32 (thanks Anders Dalvander)
  • _num_put.c: Add '+' sign for unsigned integer display (thanks Francois Dumont)
  • debug: Many missing iterator invalidation corrected (thanks Detlev V.Davidson and Francois Dumont)
  • _new.h: New config compiler switch for those that define bad_alloc but do not throw it! (thanks ?)
  • _new.h: Changed class nothrow_t to struct nothrow_t (thanks Francois Dumont)
  • _bvector.h: Added |= and &= operators to _Bit_reference struct (thanks Ed Rice)
  • Performance bug in type_traits.h fixed (thanks Francois Dumont)
  • Added Linux spin lock code
  • Added GCC-3.x configurations
  • Fixed HP aCC support
  • Added OpenWatcom support
  • Version numbers bumped
  • Iostreams ported to EMX (gcc on OS/2) (thanks Martin Schaffoener)
  • Iostreams ported to CRAY Unicos C90, T90, and J90 (thanks Geir Johansen)
  • stl_sunpro.h: Fixed mbstate definition for SUN 4.2 (thanks lengzq)
  • complex.cpp, _complex.h: template<> used for specializations
  • _num_put.c: Removed unused locale variable (thanks Petr Ovchenkov)
  • _algo.h: __reverse beautified (thanks Kabanov)
  • dll_main.cpp: force_link() forced to be linked in
  • stl_msvc.h: Config changes for .NET
  • _auto_ptr.h: "struct" changed to "class"
  • _istream.c: M_read_unbuffered fixed (thanks Stefan Schwarzer)
  • stl_gcc.h: Added missing inclusion for SCO platform (thanks Emmanuel Soden)
  • _tree.c: Optimized insert_unique (thanks Timothy)
  • _algo.c: Relaxed type requirements for lower_bound, upper_bound, binary_search
  • _algo.h: adjacent_find() expressed with compare-function flavor
  • cpp_runtime/typeinfo: Adjustments for .NET (thanks Daniel)
  • cstd/cassert: Guard removed (thanks Evan Cheng)

@xezon
Copy link

xezon commented Jul 7, 2025

What is the benefit of this? Will it break Retail compatibility? The plan is to abandon STL Port.

@aliendroid1
Copy link
Author

What is the benefit of this? Will it break Retail compatibility? The plan is to abandon STL Port.

It is only for vc6 and it doesn't break compatibility. It makes vc6 have more standard library features such as the iostreams and improves thread safety and much more. It will reduce the need for a lot of the macros and compat headers needed to make the code work with both vc6 and vc17.

@sorcerer86pt
Copy link

No mismatch with generals or zero hour
For zero hour tested with golden replay 1 plus others.

All details on the https://discord.com/channels/951133504605917224/1391886820043784282 slack thread

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants