Comments (5)
hi @elfring
ok, i believe this would match all the clashing macro names:
$ git ls | xargs egrep "#(define|ifndef|endif.*) _"
while preserving the ones aimed at the pre-processor:
$ git ls | xargs egrep "#ifdef _"
Now, what about file scope objects such as struct _aubio_resampler_t { ... }
?
from aubio.
Did your software fiddle with the reserved name space in inappropriate ways only for a few include guards?
from aubio.
yes, there are have a few more clashes:
- All identifiers that begin with an underscore (1999 C)
- Each name that contains a double underscore (2003 C++)
- Names that end with
_t
(POSIX)
See also GNU libc's reserved names.
from aubio.
After @6f42c16, we are know at:
All identifiers that begin with an underscore (1999 C)Each name that contains a double underscore (2003 C++)- Names that end with
_t
(POSIX)
No plans to fix the latest for now. Hopefully we won't clash with a future POSIX! :)
See also this discussion.
from aubio.
Thanks for your improvement of affected include guards.
from aubio.
Related Issues (20)
- would you accept a patch to build wheels? HOT 1
- Shout out to these developers
- Can't install aubio on Windows 11 with Python 3 pip HOT 3
- Any chance to update https://aubio.org/ofxAubio/ to newer commits?
- Pydub compatibility?
- `aubio.org` site is down HOT 1
- How to load audio from a file-like object?
- iOS on iPad; Xcode 14.0.1: The code signature version is no longer supported HOT 1
- Please make a release HOT 3
- beat detection
- Bar detection?
- Using command line options in Python
- Failed install with pip on Windows 10 HOT 2
- a js version. good to be mentioned in readme
- examples
- source_avcodec: error when sending packet HOT 2
- link.exe failed with exit code 1158 HOT 2
- Can not install aubio - Failed building wheel for aubio HOT 2
- Support Python 3.12, `No module named 'imp'` HOT 3
- macOS - ERROR: Failed building wheel for aubio
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aubio.