Skip to content

Fix mdepend.cpp: error: invalid preprocessing directive #Flag

Alan Coopersmith requested to merge alanc/imake:cpp into master

Seen with GNU cpp, but not Solaris cpp:

./mdepend.cpp:128:27: error: invalid preprocessing directive #Flag
  128 |                         # Flag to tell compiler to output dependencies directly
      |                           ^~~~
./mdepend.cpp:129:27: error: invalid preprocessing directive #For
  129 |                         # For example, with Sun compilers, -xM or -xM1 or
      |                           ^~~
./mdepend.cpp:130:27: error: invalid preprocessing directive #with
  130 |                         # with gcc, -M
      |                           ^~~~

Reported-by: https://bugs.gentoo.org/919846

Signed-off-by: Alan Coopersmith alan.coopersmith@oracle.com

Edited by Alan Coopersmith

Merge request reports

Loading