summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-08 12:09:48 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-08 12:09:48 -0800
commit6ae703860f9214235861a424fcee498562a1b6f5 (patch)
tree14ef4849e74153f58103e61d5957c0eebaf736ce
parent0de70ff2270fc363b0c0acf7bdb9fea0299bfc01 (diff)
Fix mdepend.cpp: error: invalid preprocessing directive #Flag
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>
-rw-r--r--mdepend.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdepend.cpp b/mdepend.cpp
index c1f5f57..ec8b5dd 100644
--- a/mdepend.cpp
+++ b/mdepend.cpp
@@ -125,9 +125,9 @@ do
shift
;;
- # Flag to tell compiler to output dependencies directly
- # For example, with Sun compilers, -xM or -xM1 or
- # with gcc, -M
+ XCOMM Flag to tell compiler to output dependencies directly
+ XCOMM For example, with Sun compilers, -xM or -xM1 or
+ XCOMM with gcc, -M
-d)
compilerlistsdepends="y"
compilerlistdependsflag="$2"