Menu

typedef error after passing to version 2.15.0

michele
2024-11-11
2024-11-11
  • michele

    michele - 2024-11-11

    Hi,
    we upgraded cppchecker to 2.15.0. I'm doing a few tests and I found that I often get a warning on struct or enum when there is a typedef

    typedef struct
    {
    U16 zNextPeriod;
    U16 zMasterPhase;
    U16 zStatus;
    } AplSyn_tSyncData;

    "warning: cppchecker:error,syntaxError,syntax error: - .. typedef"

    Do I miss some configuration?
    Thanks for the support
    Michele

    Informativa sul trattamenti dei dati dei contatti di clienti e fornitori La Societ?, Titolare del trattamento La informa che, nell'esecuzione del rapporto contrattuale o precontrattuale che ci lega alla impresa per cui lei opera, potranno venir comunicati reciprocamente tra le due imprese, o comunque messi a disposizione dei rispettivi referenti, i Suoi dati personali e di contatto (dati anagrafici, e-mail aziendali, telefoni aziendali, smartphone ad uso lavorativo, etc.) in funzione delle mansioni e degli incarichi a Lei conferiti, per la gestione ed esecuzione dei rapporti precontrattuali o contrattuali in questione. Pertanto, la nostra azienda tratter? tali dati personali nei limiti in cui siano strettamente necessari per la esecuzione di tutti gli aspetti del contratto. I dati verranno conservati fino al completamento delle reciproche prestazioni oggetto del contratto e successivamente in ragione dei termini prescrizionali previsti per gli atti e documenti dell'impresa.

    Information on data processing of customer and supplier contacts The Company, owner of the personal data, informs you that, in the execution of the contractual or pre-contractual relationship that binds us to the company you are currently working for, might exchange respective contacts, your personal data and contact details (personal data, company e-mails, company telephones, smartphones for business use, etc.) according to the tasks and tasks assigned to you, for the management and execution of the pre-contractual or contractual relationships in question. Therefore, our company will process such personal data to the extent that it is strictly necessary for the execution of all aspects of the contract. The data will be retained until the completion of the reciprocal services covered by the contract and subsequently according to the prescribed time limits for the company's documents and documents.

     
  • CHR

    CHR - 2024-11-11

    Please post a self-contained example which reproduces the error.

     
  • michele

    michele - 2024-11-11

    Thanks. I'm trying to reproduce it in a simple example .. but it seems to be not so easy. I will come back. thanks

     
  • michele

    michele - 2024-11-11

    Ok I found the problem. I was invoking cppchecker passing the wrong parameters to .exe and that was introducing this strange warning.
    Thanks for the support
    Michele

     

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.