You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Marczell, Márton <MM...@graphisoft.com.INVALID> on 2021/03/25 10:06:59 UTC

C++17 support

Hi,

Our development team has been using NetBeans for C++ development on Linux, using this guide:
https://stackoverflow.com/a/59835093
to enable C++17 support. If I understand correctly, the plugin portal this guide recommends
http://bits.netbeans.org/dev/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz
used to be a nightly channel for the full-featured version of the C++ plugin, and has now been decommissioned.

Unfortunately this means that updating to NetBeans 12.3 has “updated” our installed plugins back to the stable version that does not have C++17 support, and so when opening the projects, not only the editor does not understand our code, but even the NetBeans-generated makefiles have the compiler flag that sets the language standard automatically removed.

I’ve tried copying all the org-netbeans-modules-cnd-*.jar files from netbeans/common/data/12.2/modules/ to netbeans/common/data/12.3/modules/ as a crude workaround, but the editor is still broken and I’m not sure nothing else is.

Is there a way to install the latest nightly version of this plugin with 12.3 and have it working as well as it was in 12.2?

Márton Marczell