User Activity

  • Created ticket #1020 on MinGW-w64 - for 32 and 64 bit Windows

    warning: template-id not allowed for constructor in C++20 while compiling with -std=c++98

  • Posted a comment on discussion General Discussion on cppcheck

    cppcheck signals the warning Parameter 'callbackData' can be declared as pointer to const when the implementation of the fuction allows the const-qualification of the parameter. This is right. Sometimes the signature of the function is imposed by something else. As an example it's the callback of something and the parameter callbackData is not const in the required signature. Is there a way for me to mark in the soruce code that the cppcheck warning should be skipped for this parameter?

  • Posted a comment on discussion General Discussion on cppcheck

    I tested the nightly build and I confirm that the fix works perfectly. Thanks one more time.

  • Posted a comment on discussion General Discussion on cppcheck

    thanks!

  • Posted a comment on discussion General Discussion on cppcheck

    Thanks. I use the above prototype in most of my source files. So, at the moment, I cannot use anymore cppcheck to analyze the codebase, since these files are skipped. Is there ay temporary workaround (waiting for the fix)?

  • Posted a comment on discussion General Discussion on cppcheck

    should I provide any additional info on this error?

  • Modified a comment on discussion General Discussion on cppcheck

    Yes. This is the source code of a file named main.c typedef void (*const enableCtrls_t)(int panel_hndl); typedef struct { char uir_file[100]; int uir_panel_id; int slide; const char* title; enableCtrls_t enableCtrls; } SlideInterface; typedef const SlideInterface* (*const slideInterfaceGetter_t)(void); slideInterfaceGetter_t getSlideInterface(int current_panel) { return NULL; }

  • Posted a comment on discussion General Discussion on cppcheck

    Yes. How can I upload files here? Or I can paste here the content of the two files

View All

Personal Data

Username:
escherstair
Joined:
2019-06-14 05:52:46

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB