Skip to content

[Bug] Use of untemplated min() is ambiguous [sf#44] #44

@kolomiets

Description

@kolomiets

Reported by silvernexus on 2016-02-02 19:56 UTC
Use of untemplated min in Twain_App_sample01/src/TwainApp.cpp is ambiguous and creates compiler errors in GCC 4.8.

Use of templated min silences these errors. I made it work by templating to TW_UINT32, but should be tested for good measure on other systems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions