Created attachment 186462 [details] Initialise pointer portably Upstream ticket: https://sourceforge.net/p/xml-copy-editor/bugs/221/ Attached patch to allow building with C++11.
Hi, excuse me my ignorance, but I am able to build the patch with C++11 standard, by mean of USE_CXXSTD= c++11 in the Makefile. Could you elaborate what port options lead to the compiler error? Regards
Hi again, after take a look to 221890 issue, I understand the problem. I can't test the whole of patches suggested in 221890, but the patchs looks fine to me and at least it works in the current ports tree (September 19th). Please commit.
Is any more information required before this can be committed? Regarding the original question, this was answered in the linked upstream ticket. It's correcting an illegal conversion from integer to pointer which current C++ conpilers error out on.
committed, thanks
A commit references this bug: Author: arved Date: Fri Mar 9 17:31:05 UTC 2018 New revision: 463980 URL: https://svnweb.freebsd.org/changeset/ports/463980 Log: Fix member initialization PR: 222396 Submitted by: Roger Leigh Approved by: maintainer Changes: head/editors/xmlcopyeditor/files/patch-src_myipc.cpp