Skip to content

about float_safe_ostringstream.h #498

@qbgbmpty

Description

@qbgbmpty

Hi, I found that when I include postgresql.h using the current version, it calls /sqlpp11/detail/float_safe_ostringstream.h at line 131 in sqlpp11/postgresql/prepared_statement.h and generates the following error message:
../third-party/sqlpp11/include/sqlpp11/postgresql/prepared_statement.h:131:17: required from here ../third-party/sqlpp11/include/sqlpp11/detail/float_safe_ostringstream.h:59:9: error: no matching function for call to 'std::basic_ostringstream<char>::precision(const std::initializer_list<const long int>&)' os.precision(old_precision);

However, when I revert the version of sqlpp11 to dfa297f06970df4d525e7d35c2fa78ea5331f69b from February 10th, this issue disappears. Can you please tell me if I made a mistake somewhere, or if it's caused by some other problem?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions