Cloak icon indicating copy to clipboard operation
Cloak copied to clipboard

A mini-preprocessor library to demostrate the recursive capabilites of the preprocessor

Results 12 Cloak issues
Sort by recently updated
recently updated
newest added

Hi, I'm quite enjoying the C preprocessor advice on your wiki! It's quite good. However, https://github.com/pfultz2/Cloak/wiki/Is-the-C-preprocessor-Turing-complete%3F beats around the bush a lot, but it should really start with "No." and...

Might be a typo for INC(9)? It should be #define INC_9 10 instead of #define INC_9 9?

The description has 2 typos in it ("demostrate" and "capabilites").

Mostly the title. If it's meant to be indeed true (the current version is), are you aware of any workaround to detect only (...), but not (...)suffix? I guess a...

Don't mean to be that guy, but in the Comparison section at the end of the starting paragraph, it says `marcos` when it should say `macros`.

I was wondering if anyone has investigated if some or all of these work on other C-based languages that include support for a similar preprocessor. (I would like to use...

Is this intentional? The bizarre thing is that my linter only complains about it when I modify one or the other (discovered while reformatting). In any case it's interesting that...

Hi I am getting error for EAT or EXPAND undeclared while using with WHEN(0) or WHEN(1)

Hello @pfultz2 , Ty for the wiki doc. Very illustrative! :) I found that this program fails in both gcc & clang. Works ok in VS. ```c // ref: https://github.com/pfultz2/Cloak/wiki/C-Preprocessor-tricks,-tips,-and-idioms...