https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120909

            Bug ID: 120909
           Summary: Tilde is not recognised in path include
           Product: gcc
           Version: 14.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: modula2
          Assignee: gaius at gcc dot gnu.org
          Reporter: gaius at gcc dot gnu.org
  Target Milestone: ---

forwarded from the mailing list:

if I use tilde in the include option, gm2 cannot find files.

[~/prj/tst]=> gm2 --version
gm2 (GCC) 14.3.0
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[~/prj/tst]=> ls libs/
add.def
[~/prj/tst]=> gm2 -fdef=.d -fmod=.m2 -c -g -I./libs sum.m2
[~/prj/tst]=> pwd
/home/johng/prj/tst
[~/prj/tst]=> gm2 -fdef=.d -fmod=.m2 -c -g -I~/prj/tst/libs sum.m2
sum.m2:3:6: error: the file containing the definition module add.def
cannot be found
     3 | FROM add IMPORT add2;
[~/prj/tst]=> echo $SHELL
/usr/bin/bash

Reply via email to