GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — order of defines not respected · Issue #386 · cppcheck-opensource/simplecpp

order of defines not respected #386

New issue
Copy link
New issue
Copy link
Open
#547
Open
order of defines not respected#386
#547
Copy link
Assignees
firewave
Labels
bug

Description

@firewave
firewave
opened on Nov 22, 2024
Issue body actions
void f()
{
#ifdef DEF_1
    int i;
#endif
}
$ ./simplecpp -DDEF_1 -UDEF_1 -DDEF_1 test.cpp
void f ( )
{



}

Activity

  1. firewave
    self-assigned this
    on Nov 22, 2024
  2. firewave commented on Nov 22, 2024

    @firewave
    firewave
    on Nov 22, 2024
    CollaboratorAuthor
    More actions
    $ gcc -DDEF_1 -UDEF_1 -DDEF_1 -save-temps input.cpp | cat a-input.ii
    # 0 "input.cpp"
    # 0 "<built-in>"
    # 0 "<command-line>"
    # 1 "/usr/include/stdc-predef.h" 1 3 4
    # 0 "<command-line>" 2
    # 1 "input.cpp"
    void f()
    {
    
        int i;
    
    }
    
  3. firewave
    added 4 commits that reference this issue on Sep 24, 2025

    fixed cppcheck-opensource#386 - rewrote define handling [skip ci]

    This issue will close once commit f4360e1 is merged into the 'master' branch.
    f4360e1

    fixed cppcheck-opensource#386 - rewrote define handling [skip ci]

    This issue will close once commit 107c9cf is merged into the 'master' branch.
    107c9cf

    fixed cppcheck-opensource#386 - rewrote define handling [skip ci]

    This issue will close once commit 731e2e8 is merged into the 'master' branch.
    731e2e8

    fixed cppcheck-opensource#386 - rewrote define handling [skip ci]

    This issue will close once commit 2564153 is merged into the 'master' branch.
    2564153
  4. firewave
    added
    bug
    on Oct 3, 2025
  5. firewave
    linked a pull request that will close this issuefixed #386 - rewrote define handling #547on Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @firewave
    firewave

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402520 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.