home.social

#cpreprocessor β€” Public Fediverse posts

Live and recent posts from across the Fediverse tagged #cpreprocessor, aggregated by home.social.

  1. πŸš€ Oh joy! Another deep dive into the C Preprocessor authored by Kafka's ghost, promising #enlightenment once the tears of despair dry up. 🀑 Spoiler alert: It's just another way to make you question your life choices while hopelessly entangled in recursive macro spaghetti. πŸπŸ”„
    h4x0r.org/big-mac-ro-attack/ #CPreprocessor #RecursiveMacros #LifeChoices #Kafkaesque #HackerNews #ngated

  2. I wonder if anyone has seriously thought about adding some kind of namespacing to the C preprocessor.

    for example, it would be nice if you could say

    #namespace FOO
    #include "foo.h"
    #endnamespace

    and then all the preprocessor defines from foo.h are brought into your file with names like FOO###BOOL

    #c #preprocessor #cpreprocessor #cpp #wg14