Eric Lasota
EricLasota's profile header
Eric Lasota

@EricLasota@mastodon.gamedev.place

Programmer at Red Storm, ScummVM contributor, game tech enthusiast, aspiring master chef.

November 18, 2022

Today I learned that in C++, if you declare a function prototype as "inline", then the definition of it may not wind up in the output obj file.

But, if you declare it as inline, and it's not defined in the current TU, then it will still compile just fine, it'll just generate an import reference to it, which will fail to link.

Wat.

Elk Logo

Elk is in Preview!

Thanks for your interest in trying out Elk, our work-in-progress Mastodon web client!

Expect some bugs and missing features here and there. we are working hard on the development and improving it over time.

Elk is Open Source. If you'd like to help with testing, giving feedback, or contributing, reach out to us on GitHub and get involved.

To boost development, you can sponsor the Team through GitHub Sponsors. We hope you enjoy Elk!

Anthony FuPatak三咲智子 Kevin DengDaniel Roe

The Elk Team