Menu

#44 Use of untemplated min() is ambiguous

Application CMD
open
nobody
None
5
2016-02-02
2016-02-02
SilverNexus
No

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.

1 Attachments

Discussion


Log in to post a comment.

MongoDB Logo MongoDB