[asterisk-users] Use of undeclared identifier 'pvt' in asterisk-12.4.0

Joshua Colp jcolp at digium.com
Fri Jul 25 09:42:09 CDT 2014


Jeffrey Walton wrote:
> On Fri, Jul 25, 2014 at 10:35 AM, Joshua Colp<jcolp at digium.com>  wrote:
>> Jeffrey Walton wrote:
>>> I downloaded asterisk-12.4.0 (asterisk-12-current.tar.gz, dated
>>> 10-JUL_2014) from
>>> http://downloads.asterisk.org/pub/telephony/asterisk/.
>>>
>>> The packaged configured OK. However, I'm getting a compile error: use
>>> of undeclared identifier 'pvt'.
>>>
>>> I've found similar reports for other versions (asterisk-11 and dongle;
>>> macports; a couple others), but nothing for 12.4.
>>>
>>> Any suggestions to fix the issue?
>>
>> You are building Asterisk using the 'clang' compiler. At this time Asterisk
>> does not support being built with it. You will need to ensure GCC is used
>> instead.
> Oh, that's a drag. I specifically choose Clang so I could use its
> static and dynamic analysis capabilities. The sanitizers rock - they
> are real tattle tales.
>
> Are there any plans to support Clang? If the effort is going on now,
> then I 'd be happy to help out with porting and testing.

There is one review at https://reviewboard.asterisk.org/r/3488/ which is 
a proof of concept, but I know of noone actively working on it.

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list