mcpp
« Back to VersTracker
Description:
Alternative C/C++ preprocessor
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: preprocessor c cpp development compiler-tool
Install: brew install mcpp
About:
mcpp is a highly portable and standards-conforming C/C++ preprocessor. It offers strict checking and diagnostic capabilities, making it valuable for developers needing to ensure code compliance and identify subtle preprocessor errors. Its portability allows it to be integrated into various build environments and toolchains.
Key Features:
  • Strict standards conformance (C99/C11/C++98/C++11)
  • High portability across different operating systems
  • Detailed error and warning diagnostics
  • Support for multiple execution modes
Use Cases:
  • Validating code for strict standards compliance
  • Debugging complex macro expansions and preprocessor logic
  • Integrating a portable preprocessor into custom build systems
Alternatives:
  • cpp (GNU) – The standard GCC preprocessor; mcpp is often considered stricter and more portable for non-GCC compilers.
  • Clang preprocessor – Part of the Clang/LLVM toolchain; mcpp is a standalone alternative focused on portability and strict diagnostics.
Version History
Detected Version Rev Change Commit