<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">Dear community,</div><div dir="ltr" class="gmail_attr"><br></div><div dir="ltr" class="gmail_attr">Here is my follow up email to the previous one.</div><div dir="auto"><div class="gmail_quote" dir="auto"><div dir="auto"><div dir="auto"><br></div><div dir="auto"><div dir="auto">As you can see from the version, that it has been a very long time I touched those files. (LLVM 3.9 --> LLVM 10/12)<br><br></div><div dir="auto">If you can guide me, it would be awesome.</div><div dir="auto"><div style="font-family:sans-serif;font-size:12.8px" dir="auto">Thank You for helping me to update the file so I run it on the current llvm version.<br><br></div><div style="font-family:sans-serif;font-size:12.8px" dir="auto">Here is my output with llvm-10 by running make:<br></div></div></div><div dir="auto"><div style="font-family:sans-serif;font-size:12.8px" dir="auto"><br>/data/bulletjournal/projectjournal/phd/generated/apps/uob-hpc/intro-hpc-jacobi/functionCPPviaClang_.cpp: In function ‘int main(int, char**)’:<br>/data/bulletjournal/projectjournal/phd/generated/apps/uob-hpc/intro-hpc-jacobi/functionCPPviaClang_.cpp:199:44: error: cannot convert ‘llvm::ErrorOr<const clang::FileEntry*>’ to ‘const clang::FileEntry*’ in initialization<div style="color:rgb(80,0,80)"><br> 199 | const FileEntry *FileIn = FileMgr.getFile(argv[1]);<br> | ~~~~~~~~~~~~~~~^~~~~~~~~<br> | |<br> | llvm::ErrorOr<const clang::FileEntry*><br></div></div><div style="color:rgb(80,0,80);font-family:sans-serif;font-size:12.8px" dir="auto"><div><br></div><div>What should I change in my code?</div><div dir="auto"><br></div><div dir="auto">Thank You so much!</div><div dir="auto">Best regards</div><div dir="auto">Anja</div></div></div></div>
</div></div>
</div></div>