Closed orchistro closed 1 year ago
Thanks for the remark. I have merged the PR and added you to the list of contributors. If you are familiar with the Chinese, you can also create PR to translate the sentence in English regarding your contribution in the readme file.
Hi,
I am using two compilers: gcc and bullseye. Bullseye does not support gnu extensions, it supports ISO c++ standard only, while gcc supports (of course😁)
-std=gnu++1z
.BTW, according to the cmake documentation, the
CXX_EXTENSIONS
property isON
by default. It makes-std=gnu++1z
be passed to bullseye, which I don't want to.I wonder if it is ok to add
set(CMAKE_CXX_EXTENSIONS OFF)
to theCMakeLists.txt
. Is any gnu c++ extension required ?EDIT: Since mailio supports many platforms, it should use only ISO standard c++. I think
set(CMAKE_CXX_EXTENSIONS OFF)
line should be added to theCMakeLists.txt
. What do you think?Regards.