avr-llvm / llvm

[MERGED UPSTREAM] AVR backend for the LLVM compiler library
220 stars 21 forks source link

Attempt to use deleted function #158

Closed 4ntoine closed 8 years ago

4ntoine commented 9 years ago
[ 68%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/ASTDiagnostic.cpp.o
/Users/asmirnov/Documents/dev/src/avr-llvm/llvm/tools/clang/lib/AST/ASTDiagnostic.cpp:448:6: error: 
      attempt to use a deleted function
  OS.flush();
     ^
/Users/asmirnov/Documents/dev/src/avr-llvm/llvm/include/llvm/Support/raw_ostream.h:512:8: note: 
      'flush' has been explicitly marked deleted here
  void flush() = delete;
       ^
1 error generated.
4ntoine commented 9 years ago
MBA-Anton:clang asmirnov$ pwd
/Users/asmirnov/Documents/dev/src/avr-llvm/llvm/tools/clang
MBA-Anton:clang asmirnov$ git log
commit bc1779778787f8cfca43849f8a4412b5ca7432c1
Merge: 31dba4e d50fd8a
Author: Dylan McKay <dylanmckay34@gmail.com>
Date:   Fri Jul 31 10:53:58 2015 +1200

    Merge branch 'master' into avr-support
4ntoine commented 9 years ago
MBA-Anton:llvm asmirnov$ pwd
/Users/asmirnov/Documents/dev/src/avr-llvm/llvm
MBA-Anton:llvm asmirnov$ git log
commit fa6adf709c783371cc3cf96749ceec6f19570196
Author: Dylan McKay <dylanmckay34@gmail.com>
Date:   Thu Aug 20 05:29:53 2015 +1200

    [AVR] Add on-target execution tests for 32-bit DIV/REM
dylanmckay commented 9 years ago

I'm 98% certain this is caused by me updating LLVM but not clang. I'm in the process of updating them both again currently.

dylanmckay commented 8 years ago

Fixed.