I'm back from last week's C++ On Sea conference in Folkestone, England. What did I find on my front door:
The book "C++ Brain Teasers" by @knatten
Quickly outsold, buyers were taking advantage of asking the speakers there for autographs (Anders, @bjorn_fahller , yours truly)😀
Dear Xitter,
that's new, but thanks anyway for reminding me that my shields are up.
No, I will not let you track me down like there's no tomorrow. You're welcome to screw yourself.
(Sent from Edge as a measure to make this seen)
C++ modules support broken (again) in CMake 3.28-rc3. CMake 3.27.7 works with the same CMakeLists.txt file. It seems like it "forgets" to pass on the *successfully scanned* module dependencies to Ninja 🤦♀️
Tested with MSVC 17.7.5 and ninja 1.11
devblogs.microsoft.com/cppbl…
We've worked hard to create a structured data format as our module BMI. Join us for the release of its SDK! (Also, I wrote the viewer so please destroy me for that code, not Gaby 😉)
I'm looking forward to the LLVM libc++ team publishing their official take on a modularized C++ standard library, and I hope they pass the same tests. 🙏
This makes it possible to compile my "C++ in Action" demo app with the modularized C++ standard library *as designed by the ms-stl team* instead of my own cross-platform alternative approach to 'import std'.
The demo app uses 'import std', the 3rd-party library modules #include.
My changes to ms-stl:
1) a simple fix in <chrono> 🥲
2) a hacky 😦 workaround in <chrono>
3) and a compatible (!) 🙄attachment in module 'std' of all the entities from the C++ standard library
@starfreakclone the second issue is likely a compiler problem.
Current versions of gnu gettext recognize C++20 formatting specifications and checkers detect mismatches in translation errors in the .po files. In case of errors the project will fail to build, or translation editors complain.
Errors are detected at compile time:
#1: bad format type specification
#2: missing plural designation
#3: same, but immediate format strings
#4: too many plural arguments
This is the output:
Cool, 😎this works even better now:
Translated format strings are checked at *compile time* for matching formatting specifications and arguments for the placeholders. This applies also to the plural forms. Singular and plurals are selected by a user-designated argument.
This was much harder than finishing #1 in the weekly ranking in the Diamond league. The tournament required 3 consecutive weeks in the top 10 and around 18,000 points to be called a "winner". The true #1 winner collected about trice as many XP 🤯 I'm at rank #8 🎉 with 19k XP 😬