<< Back to previous view

[PCC-167] mpg123.h not detected by autoconf with pcc (error: pushback buffer full) Created: 25/Aug/10  Updated: 25/Nov/10

Status: Closed
Project: pcc
Component/s: C preprocessor
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Detlef Riekenberg Assignee: Anders Magnusson
Resolution: Fixed Votes: 0
Environment: ubuntu 10.04/i386

File Attachments: File mpg123.c    

 Description   
The Wine configure script failed to detect <mpg123.h>, when using pcc
(preprocesor)

Result for the attached example:
_scrap/mpg123$ pcc -E mpg123.c -o mpg123_pcc-E.c
/usr/include//mpg123.h:428: error: pushback buffer full

--
By b y ... Detlef


 Comments   
Comment by Detlef Riekenberg [ 25/Aug/10 06:18 PM ]
Increasing NAMEMAX to 512000 does not help
(but 1024000 works)

--
By by ... Detlef



Index: cc/cpp/cpp.h
===================================================================
RCS file: /cvsroot/pcc/cc/cpp/cpp.h,v
retrieving revision 1.43
diff -u -r1.43 cpp.h
--- cc/cpp/cpp.h 25 Feb 2010 15:49:00 -0000 1.43
+++ cc/cpp/cpp.h 25 Aug 2010 16:16:22 -0000
@@ -65,7 +65,7 @@
 #endif
 #endif
 
-#define NAMEMAX CPPBUF /* currently pushbackbuffer */
+#define NAMEMAX 1024000 /* currently pushbackbuffer */
 
 /* definition for include file info */
 struct includ {

Comment by Anders Magnusson [ 31/Aug/10 09:48 PM ]
Hm, I fail to reproduce this...?
Comment by Anders Magnusson [ 07/Nov/10 11:57 AM ]
This may be fixed now, can you please recheck?
Comment by Anders Magnusson [ 25/Nov/10 06:55 PM ]
Closed due to no response.
Comment by Detlef Riekenberg [ 25/Nov/10 11:03 PM ]
This works now.
Thanks
--
By by ... Detlef


Generated at Sat Oct 25 23:09:43 CEST 2014 using JIRA Enterprise Edition, Version: 3.13.1-#333.