diff --git a/au/code/au/units/pascals.hh b/au/code/au/units/pascals.hh index bc86df89..a2a81560 100644 --- a/au/code/au/units/pascals.hh +++ b/au/code/au/units/pascals.hh @@ -33,7 +33,13 @@ constexpr const char PascalsLabel::label[]; struct Pascals : decltype(Newtons{} / squared(Meters{})), PascalsLabel { using PascalsLabel::label; }; -constexpr auto pascal = SingularNameFor{}; + +#ifndef pascal +[[deprecated( + "Conflicts with the `pascal` macro from ; declare manually " + "instead.")]] constexpr auto pascal = SingularNameFor{}; +#endif + constexpr auto pascals = QuantityMaker{}; constexpr QuantityPointMaker pascals_pt{};