Skip to content

include with absolute unix path not found on MinGW MINGW* #570

Description

@firewave

a.h

int h;

a.cpp

#include "/s/GitHub/simplecpp-fw/a.h"

int i;
$  ./simplecpp -l a.cpp
1:
2:
3: int i ;
a.cpp:1: missing header: Header not found: "/s/GitHub/simplecpp-fw/a.h"
$ ls -l /s/GitHub/simplecpp-fw/a.h
-rw-r--r-- 1 User None 6 Oct 13 21:25 /s/GitHub/simplecpp-fw/a.h

It works with a Windows path:

$  ./simplecpp -l a.cpp

#line 1 "s:/GitHub/simplecpp-fw/a.h"
1: int h ;
#line 3 "a.cpp"
3: int i ;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions