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 at gcc.gnu.org/msg89727.html (6th paragraph). Henrik. ============================================================Henrik Bach LLVM Open Source Developer e-mail: henrik_bach_llvm at hotmail.com ============================================================'Nothing is impossible; The impossible just takes longer time :)' - Inventor of a new energy saver light bulp from Denmark. No software patents - Thank you Poland: http://www.nosoftwarepatents.com/en/m/intro/app0411.html Got Freedom? Software Freedom Day - 28th of August http://www.softwarefreedomday.org/ ============================================================ _________________________________________________________________ Log p� MSN Messenger direkte fra nettet http://webmessenger.msn.com/ -------------- next part -------------- A non-text attachment was scrubbed... Name: Path.zip Type: application/x-zip-compressed Size: 1105 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050130/8db9b944/attachment.bin>
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 at gcc.gnu.org/msg89727.html (6th > paragraph). > > Henrik.