https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82644

            Bug ID: 82644
           Summary: Non-standard hypergeometric special functions defined
                    in strict modes
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
  Target Milestone: ---

#define hyperg 1                                                                
#include <cmath>      

In C++17 this fails to compile:

hyper.cc:1:16: error: expected unqualified-id before numeric constant
 #define hyperg 1
                ^


hyperg is not a reserved name, so we shouldn't be defining it for -std=c++17,
only -std=gnu++17

Reply via email to