Please do not use MAXPATHLEN, it is a arbitrary limit, and is not defined on
GNU.  Currently this makes building gcc-4.0 fail on GNU since gcc/ada/adaint.c
assumes that MAXPATHLEN is defined.  Please do not use these kind of limits in
GNU programs.

Not having MAXPATHLEN is perfectly compliant with POSIX, same goes for
MAXHOSTNAMELEN, PATH_MAX etc.

-- 
           Summary: MAXPATHLEN usage in gcc/ada/adaint.c
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project
                    dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-pc-gnu
  GCC host triplet: i386-pc-gnu
GCC target triplet: i386-pc-gnu
OtherBugsDependingO 21824
             nThis:


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23187
  • [Bug ada/2... schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
    • [Bug ... schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
    • [Bug ... schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
    • [Bug ... pinskia at gcc dot gnu dot org

Reply via email to