Niall Douglas

Results 195 comments of Niall Douglas

I believe pcpp on Python 3 makes a reasonable attempt at Unicode. C++ has been evolving there though, as has C, and there are differences which are being reconciled. TBH...

I go on annual vacation next week, I'm hoping some time will present itself to review all the open PRs everywhere across my open source. No promises, it's a hectic...

Supply me your `PreprocessorHooks` implementation and I'll take a look.

I would be surprised if the serialisation to a file in a `tmpfs` directory would be much overhead. Would you have some real world numbers showing the benefit of skipping...

Yup, the parser is lazy, only does anything when pulled upon. The actual writing of bytes to a file I would guess will not be expensive, it'll be everything else...

> pcpp headers/fpdfview.h --line-directive > preproc.h > reports headers/fpdfview.h:23 error: Include file 'stddef.h' not found > but the output file retains the #include . pcpp also returns a failure exit...

Unless you specify all of the built-in macros which GCC has i.e. ``` echo | gcc-12 -dM -E - | sort #define _LP64 1 #define _STDC_PREDEF_H 1 #define __ATOMIC_ACQUIRE 2...

> Ah, so if we passed all the gcc/clang default defines to pcpp, it would include e.g. the uint8_t definition in the output? Correct. BUT gcc/clang's default defines vary according...