Menu

#33 Fix an MSVC external reference to __allmul

Unstable_(example)
closed
None
5
2016-04-04
2016-04-03
Pete Batard
No

I thought I was done with the earlier series, but now that I'm trying to remove all dependencies on Microsoft's default libraries, I found another issue. ;)

  • When compiling in x86_32|Debug mode and choosing not to link with standard Windows libraries, the MSVC compiler will throw the error:
    gnu-efi.lib(print.obj) : error LNK2019: unresolved external symbol __allmul referenced in function _ValueToHex
  • Adding an explicit cast on the array index, to ensure that is not larger than 32 bits, appears to fix the problem.

NB: This patch also removes trailing whitespaces, but the only real change is on line 1253.

1 Attachments

Discussion

  • Nigel Croxon

    Nigel Croxon - 2016-04-04
    • status: open --> closed
    • assigned_to: Nigel Croxon
     
  • Nigel Croxon

    Nigel Croxon - 2016-04-04

    FIxed in commit 38c57d52fbb45b9973ca78e7050e9cfba4d5cb21

    Thank you Pete!

     

Log in to post a comment.

MongoDB Logo MongoDB