[LLVMdev] Patch for Path.inc on mingw
    Jeff Cohen 
    jeffc at jolt-lang.org
       
    Sun Jan 30 12:40:05 PST 2005
    
    
  
Can you give an example of a path that isValid() incorrectly claims is 
invalid?  I'd rather not put in Unix code into Win32 code if I can avoid 
it.  It's also possible this is a real bug; i.e., it would incorrectly 
claim a valid Windows path is invalid.  You could insert a printf that 
prints out invalid paths.
Henrik Bach wrote:
> Hi,
>
> I would like this patch for Path.inc to be accepted.
>
> I cannot tell, why the win32 version of isValid() method fails when 
> issuing a correct path on the mingw platform. This is especially 
> annoying when configuring the cfrontend, because we get this 
> misindicating error: 'checking for sin in -lm... configure: error: 
> Link tests are not allowed after
> GCC_NO_EXECUTABLES.' And it has nothing to do with cross compilation. 
> See this article for further explanation: 
> http://www.mail-archive.com/gcc-bugs@gcc.gnu.org/msg89727.html (6th 
> paragraph).
>
> Henrik.
    
    
More information about the llvm-dev
mailing list