Skip to content

Commit 1fc9383

Browse files
committed
issue #10473 doxygen hangs forever after "Building directory list..."
1 parent 7fc4bce commit 1fc9383

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/message.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
#include <cstdarg>
2020
#include "qcstring.h"
21+
#include "util.h"
2122

2223
#ifdef __GNUC__
2324
#define PRINTFLIKE(FORMAT, PARAM ) __attribute__((format(printf, FORMAT, PARAM)))
@@ -57,22 +58,22 @@ constexpr bool has_newline_at_end(const char (&str)[N])
5758

5859
#define warn(file,line,fmt,...) do { \
5960
msg_no_newline_allowed(fmt); \
60-
warn_(file,line,fmt,##__VA_ARGS__); \
61+
warn_(removeLongPathMarker(file),line,fmt,##__VA_ARGS__); \
6162
} while(0)
6263

6364
#define warn_undoc(file,line,fmt,...) do { \
6465
msg_no_newline_allowed(fmt); \
65-
warn_undoc_(file,line,fmt,##__VA_ARGS__); \
66+
warn_undoc_(removeLongPathMarker(file),line,fmt,##__VA_ARGS__); \
6667
} while(0)
6768

6869
#define warn_incomplete_doc(file,line,fmt,...) do { \
6970
msg_no_newline_allowed(fmt); \
70-
warn_incomplete_doc_(file,line,fmt,##__VA_ARGS__); \
71+
warn_incomplete_doc_(removeLongPathMarker(file),line,fmt,##__VA_ARGS__); \
7172
} while(0)
7273

7374
#define warn_doc_error(file,line,fmt,...) do { \
7475
msg_no_newline_allowed(fmt); \
75-
warn_doc_error_(file,line,fmt,##__VA_ARGS__); \
76+
warn_doc_error_(removeLongPathMarker(file),line,fmt,##__VA_ARGS__); \
7677
} while(0)
7778

7879
#define warn_uncond(fmt,...) do { \
@@ -87,7 +88,7 @@ constexpr bool has_newline_at_end(const char (&str)[N])
8788

8889
#define err_full(file,line,fmt,...) do { \
8990
msg_no_newline_allowed(fmt); \
90-
err_full_(file,line,fmt,##__VA_ARGS__); \
91+
err_full_(removeLongPathMarker(file),line,fmt,##__VA_ARGS__); \
9192
} while(0)
9293

9394
#define term(fmt,...) do { \

0 commit comments

Comments
 (0)