Articles in the c category

  1. "[C] A Bug Caused by Misuse of '#if' Macro"

    Bug description

    To fully simplify my situation but also clearly show the key points, I use some dummy code to describe this bug.

    Considering that we want to let our code execute in following logic:

    • If FOO is defined, execute in path A
    • Else, execute in path B

    But to …