We do some times encounter some problems with --inline-suppression. It doesn't always take into account the cppcheck-suppress reduntdantAssignment comment we add before the assignment (as if this comment was removed in the pre-processing process).
I couldn't reproduce the problem with a simple example.
Do you have an issue concerning this problem?
Ccpcheck version is 1.87
Command line launched from project vcxproj folder:
c:\dev\cppcheck\cppcheck.exe -j 8 --enable=all --std=c++14 --platform=win64 --library=windows.cfg -DOS_NT -DWIN32 -D_WIN32 -DNDEBUG -D_cppcheck --inline-suppr --suppressions-list=c:\svn\Tools\trunk\Scripts..\cppcheck-suppress.txt -I../public pathToSource
Thanks in advance for your response.
Cédric
This message and any attachments are intended for the sole use of its addressee.
If you are not the addressee, please immediately notify the sender and then destroy the message.
As this message and/or any attachments may have been altered without our knowledge, its content is not legally binding on Crédit Agricole Corporate and Investment Bank.
All rights reserved.
Crédit Agricole Corporate and Investment Bank’s Registered office: 12, Place des Etats-Unis - CS 70052 - 92547 Montrouge Cedex, France.
Ce message et ses pièces jointes sont destinés à l'usage exclusif de leur destinataire.
Si vous recevez ce message par erreur, merci d'en aviser immédiatement l'expéditeur et de le détruire ensuite.
Le présent message pouvant être altéré à notre insu, Crédit Agricole Corporate and Investment Bank ne peut pas être engagé par son contenu.
Tous droits réservés.
Siège social de Crédit Agricole Corporate and Investment Bank : 12, Place des Etats-Unis - CS 70052 - 92547 Montrouge Cedex, France.
Where you have received a communication from Crédit Agricole Corporate and Investment Bank this may include information which constitutes an investment recommendation as defined by the European Market Abuse Regulation of 16 April 2014 (MAR), Investment Research as defined by the European Markets in Financial Instruments Directive of 15 May 2014 (MiFID II) or Investment Advice as defined by MiFID II. Where Investment Advice is provided, it should be noted that it is not provided on an independent basis.
If you have any questions in relation to MAR or MiFID II and their impact on your relationship with Crédit Agricole Corporate & Investment Bank please let your sales person know.
Please refer to https://www.ca-cib.com/about-us/financial-information/dodd-frank-disclosures-and-notices for any Dodd-Frank Disclosure for U.S. Persons pursuant to CFTC Regulation 23.431
Hi,
We do some times encounter some problems with --inline-suppression. It doesn't always take into account the cppcheck-suppress reduntdantAssignment comment we add before the assignment (as if this comment was removed in the pre-processing process).
I couldn't reproduce the problem with a simple example.
Do you have an issue concerning this problem?
Ccpcheck version is 1.87
Command line launched from project vcxproj folder:
c:\dev\cppcheck\cppcheck.exe -j 8 --enable=all --std=c++14 --platform=win64 --library=windows.cfg -DOS_NT -DWIN32 -D_WIN32 -DNDEBUG -D_cppcheck --inline-suppr --suppressions-list=c:\svn\Tools\trunk\Scripts..\cppcheck-suppress.txt -I../public pathToSource
Thanks in advance for your response.
Cédric
This message and any attachments are intended for the sole use of its addressee.
If you are not the addressee, please immediately notify the sender and then destroy the message.
As this message and/or any attachments may have been altered without our knowledge, its content is not legally binding on Crédit Agricole Corporate and Investment Bank.
All rights reserved.
Crédit Agricole Corporate and Investment Bank’s Registered office: 12, Place des Etats-Unis - CS 70052 - 92547 Montrouge Cedex, France.
Ce message et ses pièces jointes sont destinés à l'usage exclusif de leur destinataire.
Si vous recevez ce message par erreur, merci d'en aviser immédiatement l'expéditeur et de le détruire ensuite.
Le présent message pouvant être altéré à notre insu, Crédit Agricole Corporate and Investment Bank ne peut pas être engagé par son contenu.
Tous droits réservés.
Siège social de Crédit Agricole Corporate and Investment Bank : 12, Place des Etats-Unis - CS 70052 - 92547 Montrouge Cedex, France.
Where you have received a communication from Crédit Agricole Corporate and Investment Bank this may include information which constitutes an investment recommendation as defined by the European Market Abuse Regulation of 16 April 2014 (MAR), Investment Research as defined by the European Markets in Financial Instruments Directive of 15 May 2014 (MiFID II) or Investment Advice as defined by MiFID II. Where Investment Advice is provided, it should be noted that it is not provided on an independent basis.
Please see https://www.ca-cib.com/about-us/financial-information/general-disclaimer-sales-trading for more details regarding the important regulatory information in this regard.
If you have any questions in relation to MAR or MiFID II and their impact on your relationship with Crédit Agricole Corporate & Investment Bank please let your sales person know.
Please refer to https://www.ca-cib.com/about-us/financial-information/dodd-frank-disclosures-and-notices for any Dodd-Frank Disclosure for U.S. Persons pursuant to CFTC Regulation 23.431