Skip to content

Conversation

@afxgroup
Copy link
Collaborator

Previously constructors and destructors where in _main function.
This means that you couldn't create an exe doesn't have main() function because constructors weren't called.
Now all the constructors has moved inside libOpen and destructors inside libClose.
Constructors that needed wb stuff are always in _main but they are normal functions now

afxgroup and others added 30 commits January 14, 2025 19:24
…g index in a loop..

 Some additional tests on flush
…ectly. setenv() now call also tzset() if TZ variable is set. Added an example to test the new function
… is possible to create programs that use _start and not main() without any problems
afxgroup and others added 4 commits March 21, 2025 18:14
…ng results on functions like clock_gettime. clock_settime now doesn't accept CLOCK_MONOTONIC since it isn't settable. Some small fixed for constructors change
@afxgroup afxgroup requested review from elfpipe and migthymax March 29, 2025 12:45
@afxgroup
Copy link
Collaborator Author

Can you please test your exe with move_constructors_destructors branch?

@afxgroup afxgroup merged commit 11a72d1 into development Apr 11, 2025
@afxgroup afxgroup deleted the move_constructors_destructors branch April 11, 2025 16:28
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.

2 participants