evaleev / libint

Libint: high-performance library for computing Gaussian integrals in quantum mechanics
Other
225 stars 95 forks source link

Fix warning "anonymous non-C-compatible type given name for linkage purposes by typedef declaration" #168

Closed e-kwsm closed 2 years ago

e-kwsm commented 4 years ago

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1766r1.html#wording

An unnamed class with a typedef name for linkage purposes shall not

  • declare any members other than non-static data members, member enumerations, or member classes,
  • have any base classes or default member initializers, or
  • contain a lambda-expression,
evaleev commented 2 years ago

subsumed by #220