# Compilation Error when submitting to CERN's cluster

**URL:** <https://root-forum.cern.ch/t/compilation-error-when-submitting-to-cerns-cluster/55142>\
**Category:** Newbie\
**Created:** [June 1, 2023, 5:52pm UTC](https://root-forum.cern.ch/t/compilation-error-when-submitting-to-cerns-cluster/55142 "2023-06-01T17:52:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Montechristo](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/e9a140/32.png) [@Montechristo](https://root-forum.cern.ch/u/Montechristo)\
**Post date:** [June 1, 2023, 5:52pm UTC](https://root-forum.cern.ch/t/compilation-error-when-submitting-to-cerns-cluster/55142/1 "2023-06-01T17:52:13Z")

</div>

Hello everyone. This is my first post and I sincerely hope it is relevant to the discussions here. My question is how to deal with the error c++: error: unrecognized command line option ‘-std=c++14’ , that I receive after submitting my job to a cluster. The command to compile is

```bash
c++ `root-config --cflags --libs --evelibs` -Wno-unsequenced -O3 something.cc -o something

```

Thank you,

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [June 1, 2023, 5:59pm UTC](https://root-forum.cern.ch/t/compilation-error-when-submitting-to-cerns-cluster/55142/2 "2023-06-01T17:59:55Z")

</div>

You are trying to use a compiler (“`c++`”) that does not support the “`C++14`” standard.  
It seems your ROOT binaries were built with another/newer compiler.

BTW. Use (with the proper compiler):

`$(root-config --cxx --cflags) -Wno-unsequenced -O3 -o something something.cc $(root-config --evelibs)`
