From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: CEDET calls cpp -E -dM -x c++ /dev/null Date: Wed, 1 Jul 2009 21:06:17 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1246475199 10730 80.91.229.12 (1 Jul 2009 19:06:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Jul 2009 19:06:39 +0000 (UTC) Cc: Alex Ott , "Eric M. Ludlam" To: Emacs-Devel devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 01 21:06:32 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MM58Y-0007FY-OX for ged-emacs-devel@m.gmane.org; Wed, 01 Jul 2009 21:06:31 +0200 Original-Received: from localhost ([127.0.0.1]:41077 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MM58Y-0005aV-4r for ged-emacs-devel@m.gmane.org; Wed, 01 Jul 2009 15:06:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MM58S-0005Wr-5F for emacs-devel@gnu.org; Wed, 01 Jul 2009 15:06:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MM58N-0005Gz-49 for emacs-devel@gnu.org; Wed, 01 Jul 2009 15:06:22 -0400 Original-Received: from [199.232.76.173] (port=41092 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MM58M-0005GS-QE for emacs-devel@gnu.org; Wed, 01 Jul 2009 15:06:18 -0400 Original-Received: from mail-bw0-f207.google.com ([209.85.218.207]:54690) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MM58M-0007vv-Ag for emacs-devel@gnu.org; Wed, 01 Jul 2009 15:06:18 -0400 Original-Received: by bwz3 with SMTP id 3so3087bwz.42 for ; Wed, 01 Jul 2009 12:06:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=wLWAB/p4tFDCwm4u6f2+6ArB6Vadn45a1VsttJ06C6M=; b=CpVee2NRnxzKthDwBxNh9hqPYOUPSlbiSBMNHxlQ2vpkoTvV63xtROrY5JegThvnsS ID2zokiEhm7Zt1K4g6MP8jWhE2dzh7Z0xVRpiHULmC8ViycsNbSpw+sFGIMnVs9diIw5 0/AdtdNez1HdbDR6r6t2Nq6WSC1/V054Or6vU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=HSEqx7UB5YNnStATaubtCHM+njH7SV0jZK2oZwrON/YyxvAQdfuO47fGnH2k65LT1V 6Vmft3lt7ACysUhGM80SLbd6trsBrITac4N//bWPd1zUEIQlq0tV7ZtwAsxKgHIiyGWN 5q/SxbniT5xO/vESbQvjV4yCHua1WqwGI7zrc= Original-Received: by 10.239.146.212 with SMTP id x20mr843776hba.97.1246475177217; Wed, 01 Jul 2009 12:06:17 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:111870 Archived-At: CEDET does the call above in semantic-gcc-setup. Doing that from the command line using MingGW on w32 fails. It fails because /dev/null is not valid on w32. Shouldn't it be NUL there? However looking through Emacs lisp sources I see several uses of just /dev/null. Wouldn't it be better to use some defsubst for this? Now, if the command instead is cpp -E -dM -x c++ nul it fails for me with cpp: installation problem, cannot exec `cc1plus': No such file or directory Does it work for anyone else using MinGW? What should perhaps be used instead?