[PATCH] D97669: [clang][AVR] Add avr-libc/include to clang system include paths

Ben Shi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 1 01:57:05 PST 2021


benshi001 added a comment.
Herald added a subscriber: ormris.

The wrong `stdio.h` (usr/include/stdio.h) is included with a simple a.c like

  #include <stdio.h>
  ...

However the expected one is avr-libc's `stdio.h`, and this patch add avr-libc's include/ to clang system include paths.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97669/new/

https://reviews.llvm.org/D97669



More information about the cfe-commits mailing list