Skip to content

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

@firewave

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 ;

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions