Package: filters
Severity: minor
Tags: patch
User: [email protected]
Usertags: clang-ftbfs

Hello,

Using the rebuild infrastructure, your package fails to build with clang 
(instead of gcc).

We detected this kinf of error:
http://clang.debian.net/status.php?version=3.5.0rc1&key=NOT_ALLOWED_HERE

Full build log is available here:
http://clang.debian.net/logs/2014-06-16/filters_2.49_unstable_clang.log

Thanks,
Alexander

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- ./nyc.l	2008-12-17 02:16:04.000000000 +0300
+++ ../filters-2.49-my/./nyc.l	2014-08-16 12:52:09.772220020 +0400
@@ -11,11 +11,10 @@
 BW [ \t]
 SP [ \t]
 EW [ \t.,;!\?$]
+
 %%
 %{
-	void plastc() {
-		yyunput(yytext[yyleng-1], yytext);
-	}
+    void plastc();
 %}
 ".so ".*$			printf("%s", yytext);
 [ao]ther			printf("%cdder", yytext[0]=='a'?'a':'u');
@@ -72,6 +71,11 @@
 [a-z]"."		{	printf("%s", yytext);expletive();}
 %%
 
+void plastc()
+{
+    yyunput(yytext[yyleng-1], yytext);
+}
+
 caseify(c)
 char c;
 {
@@ -97,11 +101,6 @@
 		}
 }
 
-main()
-{
-	yylex();
-}
-
 int yywrap()
 {
 	return 1;
--- ./jive.l	2008-12-17 02:16:04.000000000 +0300
+++ ../filters-2.49-my/./jive.l	2014-08-16 11:29:38.679740331 +0400
@@ -17,13 +17,13 @@
 %o 1500
 BW [ \t\(]
 EW [ \t.,;!\?$\)]
+%option noyywrap
 %%
+
 %{
-	void plastc()
-	{
-		unput(yytext[yyleng-1]);
-	}
+    void plastc();
 %}
+
 @[Bb]egin(.*)		|
 ".so ".*$			printf("%s", yytext);
 {BW}send			printf("%ct'row",yytext[0]);
@@ -202,6 +202,11 @@
 cally				printf("c'l");
 %%
 
+void plastc()
+{
+    unput(yytext[yyleng-1]);
+}
+
 caseify(c)
 char c;
 {
--- ./cockney.l	2008-12-17 02:16:04.000000000 +0300
+++ ../filters-2.49-my/./cockney.l	2014-08-16 11:27:56.609544622 +0400
@@ -15,19 +15,13 @@
 
 %Start junk
 
+%option noyywrap
+
 %%
 
 %{
-	void eos() {
-	    if (yytext[yyleng-1] == '.')
-		dintI();
-	    else
-		unput(yytext[yyleng-1]);
-	}
-
-	void plastc() {
-	    unput(yytext[yyleng-1]);
-	}
+void eos();
+void plastc();
 %}
 
 <junk>.			{	srandom(time(0L)); unput(yytext[0]); BEGIN 0; }
@@ -103,6 +97,19 @@
 
 %%
 
+void eos()
+{
+    if (yytext[yyleng-1] == '.')
+    dintI();
+    else
+    unput(yytext[yyleng-1]);
+}
+
+void plastc()
+{
+    unput(yytext[yyleng-1]);
+}
+
 caseify(c)
 char c;
 {

Reply via email to