Where can I check the c++ standard used by ardupilot4.0 or the gcc version used for compilation?

Where can I check the c++ standard used by ardupilot4.0 or the gcc version used for compilation?

Hello,
Wiki is your friend :slight_smile:
https://ardupilot.org/dev/index.html

I’ve read it, but I didn’t find the relevant description.

Did you look at the tools installation script ?

image
When you build the code, it prints it like this:

hello,

We use C11 and C++11 standard and our current toolchain for arm target (STM boards) is
gcc version 6.3.1 20170620 (release) [ARM/embedded-6-branch revision 249437] (GNU Tools for ARM Embedded Processors 6-2017-q2-update).

For SITL, we don’t care about the toolchain. We support up to GCC9 and normally also work with gcc-musl and clang

1 Like

Haven’t seen this before.

Thank you very much for your reply which solved my problem.

I haven’t read this carefully before, thank you for reminding me.