[riot-commits] [RIOT-OS/RIOT] ba2a8d: tests/libc_newlib: fix pointers comparison for llv...

Martine Lenders authmillenon at gmail.com
Tue Sep 25 15:50:40 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: ba2a8dfe8a772c61cabb931c0039b83659f33ff2
      https://github.com/RIOT-OS/RIOT/commit/ba2a8dfe8a772c61cabb931c0039b83659f33ff2
  Author: cladmi <gaetan.harter at fu-berlin.de>
  Date:   2018-09-25 (Tue, 25 Sep 2018)

  Changed paths:
    M tests/libc_newlib/main.c

  Log Message:
  -----------
  tests/libc_newlib: fix pointers comparison for llvm

With llvm and samr21-xpro, I could not directly do 'printf == iprintf'.
But doing `(printf - iprintf) == 0` correctly checked if they are equal.

Co-authored-by: Kaspar Schleiser <kaspar at schleiser.de>


  Commit: f1529b886ca48bb4575e1f1441b9149ee5e1fbbc
      https://github.com/RIOT-OS/RIOT/commit/f1529b886ca48bb4575e1f1441b9149ee5e1fbbc
  Author: Martine Lenders <authmillenon at gmail.com>
  Date:   2018-09-25 (Tue, 25 Sep 2018)

  Changed paths:
    M tests/libc_newlib/main.c

  Log Message:
  -----------
  Merge pull request #10014 from cladmi/pr/tests_libc/fix_for_llvm

tests/libc_newlib: fix pointers comparison for llvm


Compare: https://github.com/RIOT-OS/RIOT/compare/5ac02f513461...f1529b886ca4
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the commits mailing list