Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

ia32intrin.h:104:1: error: definition of builtin function '__rdtsc' warning after latest update



  • I'm using Qt Creator 4.7.0 Community, and Desktop QT 5.11.0 MinGW.

    After running the updater today, my project now has this warning that prevents Clang-Tidy and Clazy static code analysis from running.

    Warning: The code model could not parse an included file, which might lead to incorrect code completion and highlighting, for example.
    ia32intrin.h:104:1: error: definition of builtin function '__rdtsc'
    

    The project still seems to build and run fine, but shows this warning, and as mentioned this prevents the static code analyzer from running properly.


  • Lifetime Qt Champion

    Hi,

    You can try to disable the clang code model plugin to see if things get better.


Log in to reply