On OS X, warn about filenames that only differ in case
Ouverte
Cabal: other
old-milestone: ⊥
platform: mac
type: bug
- Langage dominant
- Haskell
- Étoiles
- 1.7k
- Forks
- 750
- Merge moyen
- 4 j 3 h
- PR mergées (30 j)
- 28
Description
(Imported from [Trac #793](http://hackage.haskell.org/trac/hackage/ticket/793), reported by @tibbe on 2011-01-18)
I managed to make Cabal fail to build a project by having
Name: hamtThe result was:
Version: 0.1
License: BSD3
License-file: LICENSE
Author: Johan Tibell
Maintainer: johan.tibell@gmail.com
Category: Data
Build-type: Simple
Cabal-version: >=1.2
Library
Exposed-modules: HAMT
Other-modules: PopCount
Build-depends: base, vector
C-sources: popcount.c
Building hamt-0.1..._popcount is only defined in popcount.c. Looking in dist/ showed that there was only a popcount.o there (from the C file). Renaming popcount.c to popc.c solved the problem.
[1 of 2] Compiling PopCount ( PopCount.hs, dist/build/PopCount.o )
ld: duplicate symbol _popcount in dist/build/popcount.o and dist/build/PopCount.o for inferred architecture i386
Cabal ought to warn in this case.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.