uss_oatmeal,
@uss_oatmeal@mstdn.party avatar

@thephd Please tell me you got rid of in C23, yeah? Please, like for real, maybe?

Sigh, I'm trying to extract one function (and support) from the musl library and convert it into C#. I've been feeling fairly confident about it, though concerned about the volume of code and wondering if my original approach might be "good enough".

Still in an explorer mode, I found what looked like functions turn out to be a macro. NBD. Then a macro to a macro. Then 3 layers deep.

I'm crying.

Paxxi,
@Paxxi@hachyderm.io avatar

@uss_oatmeal @thephd the trick is to google the compiler flag to save the preprocessed file during build and then use that 😀

uss_oatmeal,
@uss_oatmeal@mstdn.party avatar

@Paxxi @thephd

Yeah... musl uses Makefile, and I just found out there's a make for Windows, so I'll work on that tomorrow, as I've run out of brain while trying to convert it to Cmakefile.txt.

It's been too long a day.

Paxxi,
@Paxxi@hachyderm.io avatar

@uss_oatmeal @thephd you need to use wsl or msys2 I guess. Makefiles are fairly thin wrappers around shell/binaries and tend to be very much unportable 😀

If you're thinking about nmake it won't work unless musl provides an nmake specific makefile. Some projects call them vc6 for some reason

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • khanakhh
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • osvaldo12
  • ethstaker
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • everett
  • ngwrru68w68
  • kavyap
  • InstantRegret
  • megavids
  • GTA5RPClips
  • Durango
  • normalnudes
  • cubers
  • tacticalgear
  • cisconetworking
  • tester
  • modclub
  • provamag3
  • anitta
  • Leos
  • JUstTest
  • lostlight
  • All magazines