[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Build error in current svn



I'm seeing with current svn trunk 
        cc1: warning: command line option "-nostdinc++" is valid for C++/ObjC++ but not for C
        <stdin>:25:3: error: invalid preprocessing directive #Used
        <stdin>:31:3: error: invalid preprocessing directive #Used
        cc1: warning: command line option "-nostdinc++" is valid for C++/ObjC++ but not for C
        make: *** [/storage/mirror/tmp/squeeze/rawlist] Error 1
        
Looks like the cause is r1947. Although this is a shell script the here
end up in the output which gets fed to cpp and are not valid comments as
far as cpp is concerned. Use C style comments instead. 

diff --git a/tools/generate_di+k_list b/tools/generate_di+k_list
index 755b174..6042e19 100755
--- a/tools/generate_di+k_list
+++ b/tools/generate_di+k_list
@@ -44,13 +44,13 @@ mdadm
 aptitude
 hotplug
 usbutils
-# Used for Lenny and earlier
+/* Used for Lenny and earlier */
 console-data
 console-common
 console-tools
 console-cyrillic
 console-terminus
-# Used for Squeeze and onwards
+/* Used for Squeeze and onwards */
 console-setup
 pcmcia-cs
 pcmciautils

-- 
Ian Campbell

The trouble with being punctual is that nobody's there to appreciate it.
		-- Franklin P. Jones

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: