User Activity

  • Posted a comment on discussion General Discussion on cppcheck

    Hi .. I am using cpp check.. Can you tell me the place where I can ask help for finding this issue ? static uint64_t CalK(machine_status *machine, uint16_t chn, uint32_t adc) { uint16_t i, n; int32_t k1, k2, k; n = K_SENSE_POINTS_NUM; for (i=0; i!=n; i++) { if (adc <= machine->uc1_output[chn].ksense.adc[i]) { break; } } if (i == 0) { return machine->uc1_output[chn].ksense.k[0]; } if (i == n) { return machine->uc1_output[chn].ksense.k[n-1]; } k1 = machine->uc1_output[chn].ksense.k[i-1]; k2 = machine->uc1_output[chn].ksense.k[i];...

  • Modified a comment on discussion General Discussion on cppcheck

    Hi Daniel ,... i have a folder with many files but no one with the supported ones

  • Posted a comment on discussion General Discussion on cppcheck

    Hi Daniel ,... i have a folder with many files but no one with the supported ones Simone GasparellaResponsabile Sviluppo SW Systel Elettronica S.r.l. 0039 (0)445 888 264 • simone.gasparella@systel.it daniele.dalponte@systel.it 36040 Salcedo (VI) Italy • www.systel.it ** Please consider the environment before printing / Prima di stampare pensa all'ambiente Il giorno mer 1 dic 2021 alle ore 16:00 "Daniel Marjamäki" danielmarjamaki@users.sourceforge.net ha scritto: in the GUI: Create a new project file....

  • Posted a comment on discussion General Discussion on cppcheck

    Hi .. . Which are the steps to run the misra check on the gui ? I have already the python files and the text files.. Instead of watching the result on the terminal of Visual studio code I would like to integrate them in the gui ? How is possible ? Thanks a lot

  • Posted a comment on discussion General Discussion on cppcheck

    Hi CHR.. Thanks for your answer if i try to do it I get : a label can only be part of a statement and a declaration is not a statement

  • Posted a comment on discussion Development on cppcheck

    Hi forum , I am currently using the following command cppcheck --dump inverter.c I see that the relative dumped file is generated in the same folder of the file inverter.c How is possible to generate the dumped file in a different folder? Please let me know . Thanks

  • Posted a comment on discussion Development on cppcheck

    Hi forum , I am using the python script for checking the compliance with MISRA C coding standard. I run the command in the following way (checking just one file) cppcheck --dump inverter.c python misra.py --rule-texts=misra_rules_texts.txt inverter.c.dump For sure in the relative header file (inverter.h) is present the declaration of the functions.. How can I fix it ? Thanks a lot

  • Modified a comment on discussion General Discussion on cppcheck

    Hi forum , I am using cppcheck 2.6 i an embedded c project . The software is showing the style issue : "the scope of the variable can be reduced"... It is showing this message in some variables before a switch .. If i try to move some variables inside the cases for solving the style issue I get an error from the compiler.. How Can I fix it ? Thanks for the suggestion

View All

Personal Data

Username:
simogaspa84
Joined:
2021-11-12 15:31:59

Projects

  • No projects to display.

Personal Tools