|
|
Choosing A Webhost: |
Re: Compile failure current SVN: msg#00010audio.compression.speex.devel
Thorvald Natvig wrote: > "restict" is also valid C99, but as that was removed for compatibility > with non-compliant compilers, That means "restrict" is no longer part of the standard and hence should not be accepted by standards conforming compilers. However, the issue you were complaining about is still part of the standard and any compiler which doesn't accept it is not C99 conformant. > I thought one might wish to fix this as > well, especially as it's the only place in the code it is used. However, if Jean-Marc would like to remove this construct and make sure it doesn't creep back in, he might be interested in the -Wdeclaration-after-statement GCC warning option. I believe that this -W flag is available in gcc-3.4 and later. If you are interested, I can also supply you with an M4 autoconf macro that can be used to add this to CFLAGS if and only if the compiler supports it. Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo +-----------------------------------------------------------+ Good advice for everyone : stay away from churches, mosques and synagouges.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Compile failure current SVN, Thorvald Natvig |
|---|---|
| Next by Date: | Re: Compile failure current SVN, Tom Harper |
| Previous by Thread: | Re: Compile failure current SVN, Thorvald Natvig |
| Next by Thread: | Re: Compile failure current SVN, Jean-Marc Valin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |