Skip to content
This repository was archived by the owner on Aug 27, 2021. It is now read-only.
This repository was archived by the owner on Aug 27, 2021. It is now read-only.

Dangerous bug with #include files #175

Description

@vlachoudis

If there is an include under an #ifdef, the file will be included no matter whether the #ifdef is not active or not
e.g.
//#define TEST // <--- commented

ifdef TEST

include "testing.h"

endif

The final code will contain the testing.h, resulting in problematic code.

V.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions