Closed CrazyPython closed 4 years ago
cpp
does not process indented #define
:
$ cpp test.cpp
# 1 "test.cpp"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 360 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "test.cpp" 2
#define A b
A
I cannot specify the path to libclang or the path to cpp, making a simple workaround impossible.
example.dpp:
Console output:
The issue seems to be a trivial bug about #define not being processed when it is indented.
Attached are the intermediate files as outputted when "--keep-pre-cpp-files --keep-d-files" are passed.
intermediates.zip