https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69650
--- Comment #44 from Roger Orr <rogero at howzatt dot demon.co.uk> --- Created attachment 38218 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38218&action=edit Intermediate file I am as yet unable to upload the code for an example. However, I've attached a file containing the generated line directives using grep "#" rsMessaging.cxx.ii > lineDirectives from one of the troublesome pre-processsed output files (rsMessaging.cxx.ii). As far as I can tell the directives are correct. The .ii file generates the following diagnostic when compiled: $ /var/tmp/gcc-trunk-234481/install/bin/g++ -std=c++14 -O3 -Werror -c rsMessaging.cxx.ii In file included from /opt/reactor-buildkit/B2BH-BK2GIT44-1/poco/include/Poco/Net/IPAddress.h:379:0, from /home/rorr/linuxdev109ws_9119/rorr_linuxdev109ws_9119/Reactor5/project/prj-lcc-device-longer-name/reactor/src/base/messaging/messaging/rsHintServerBase.hxx:18, from /home/rorr/linuxdev109ws_9119/rorr_linuxdev109ws_9119/Reactor5/project/prj-lcc-device-longer-name/reactor/src/base/messaging/src/rsMessaging.cxx:15: /home/rorr/linuxdev109ws_9119/rorr_linuxdev109ws_9119/Reactor5/project/prj-lcc-device-longer-name/reactor/src/base/hxx/rsEnumMnemonic.hxx:117:165: error: file "/home/rorr/linuxdev109ws_9119/rorr_linuxdev109ws_9119/Reactor5/project/prj-lcc-device-longer-name/reactor/src/base/messaging/messaging/rsHintServerBase.hxx" linemarker ignored due to incorrect nesting [-Werror] ^ /home/rorr/linuxdev109ws_9119/rorr_linuxdev109ws_9119/Reactor5/project/prj-lcc-device-longer-name/reactor/src/base/hxx/rsEnumMnemonic.hxx:212:154: error: file "/home/rorr/linuxdev109ws_9119/rorr_linuxdev109ws_9119/Reactor5/project/prj-lcc-device-longer-name/reactor/src/base/messaging/src/rsMessaging.cxx" linemarker ignored due to incorrect nesting [-Werror] cc1plus: all warnings being treated as errors