I have been debugging my OS and I have noticed that `new` isn't actually calling the constructor. I found the issue here because the print statement here don't run. My new operator is defined here.
Any help would be appreciated.
New isn't calling the constructor
Re: New isn't calling the constructor
This is not OS dev related but a basic C++ question. New is calling the default constructor and your printf is inside another constructor.
managarm: Microkernel-based OS capable of running a Wayland desktop (Discord: https://discord.gg/7WB6Ur3). My OS-dev projects: [mlibc: Portable C library for managarm, qword, Linux, Sigma, ...] [LAI: AML interpreter] [xbstrap: Build system for OS distributions].
Re: New isn't calling the constructor
I just noticed that thanks.