[cfe-dev] Option to control level of OpenMP support

Joerg Sonnenberger joerg at britannica.bec.de
Thu May 7 09:18:52 PDT 2015


On Thu, May 07, 2015 at 02:55:08PM +0300, Andrey Bokhanko wrote:
> We can deal with this in two ways:
> 1) Enable all new developments by default, just document in release
> notes that support of OpenMP x.x version is guaranteed, but everything
> else is "experimental".
> 2) Enable only completed standard (3.1 at the moment) by default, and
> let users enable non-completed support with an option. Say,
> -std-openmp=n.

A third way would be to warn about new features. Kind of like the C++11
warnings.

Joerg



More information about the cfe-dev mailing list