Menu

Rad Studio C++ builder

2021-06-17
2021-06-22
  • Regis St-Gelais

    Regis St-Gelais - 2021-06-17

    I have an old project that was originaly on Borland C++ with the Owl framework. Since a few years i migrated it to OwlNext and compiled with Rad Studio C++ builder. I need to scan it but it looks like CppCheck can read old CBuilder project fles but not Rad Studio project files. Any Hint ?? Tks

     
  • Daniel Marjamäki

    No problem. Just tell Cppcheck where your source code is. Here is a suggestion.. feel free to tweak..

    cppcheck --enable=style --library=windows --platform=win64 <path-to-your-project>
    

    If you put your headers in some separate folder I'd suggest an additional -I <path-to-your-includes>.

     
    👍
    1

    Last edit: Daniel Marjamäki 2021-06-18
  • Regis St-Gelais

    Regis St-Gelais - 2021-06-18

    Do I just give the root of my sources? Some files are located in sub folders. Same with my headers.

     

    Last edit: Regis St-Gelais 2021-06-18
    • Daniel Marjamäki

      Yes, Cppcheck will look recursively in sub folders.

       
      👍
      1
  • Regis St-Gelais

    Regis St-Gelais - 2021-06-22

    I was able to scan my code. Tks.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.