Summary: | ASTERISK-03812: [patch] Recent changes to app_queue will not compile with gcc-2.95 | ||
Reporter: | Olle Johansson (oej) | Labels: | |
Date Opened: | 2005-03-31 03:00:12.000-0600 | Date Closed: | 2005-03-31 22:12:31.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) queue.txt | |
Description: | The "nameless" structure in app_queue will not compile on my FreeBSD 4.10 system. I needed to add a name to it to make it work. Disclaimer on file | ||
Comments: | By: Kevin P. Fleming (kpfleming) 2005-03-31 10:14:35.000-0600 What compiler are you using? Anonymous structures/unions are supported in pretty much every recent version of gcc. By: Olle Johansson (oej) 2005-03-31 10:33:49.000-0600 2.95.4 - the standard on FreeBSD 4.10 By: Kevin P. Fleming (kpfleming) 2005-03-31 10:42:33.000-0600 OK, well, I don't know that any policy has been stated at this point for Asterisk supporting old compilers, but that one is ancient :-) I'll chat with Mark to see what he feels about this. By: Kevin P. Fleming (kpfleming) 2005-03-31 22:12:23.000-0600 After some discussions with Mark and others, it has been deemed that Asterisk 1.2 will only support compilation with gcc 3.x or above, or compilers that support the common GCC extensions, including anonymous structures and unions. I will update the README and UPGRADE.txt files to reflect this change. (Side note: I've been told that FreeBSD 4.x _does_ have gcc-3.4.x available in the ports collection, and that it is the standard compiler for the current FreeBSD 5.x stable series as well). |