Comments (8)
This identifiers is used as define guard for header file include, What's is your suggestion to name those guards for C++ standard fitting? Thanks.
from openh264.
should we use #pragma once instead of include guards?
from openh264.
I would like to add another thought for your interest in the construct "#pragma once".
How do you think about to reuse also a name pattern like it is applied in other projects?
from openh264.
You just need to remove leading underscores to avoid pedantic concerns about identifier names reserved by the C or C++ standards.
#pragma once
is not standardized and may be confused by symlinks or case insensitive file systems.
from openh264.
We will not have symlinks or case sensitive collisions. Lets be pragmatic and sufficient, not precise and puritan.
from openh264.
I'm not overly worried about case collisions, and while we do have
some name duplication, we are working to remove that. With that
said, I would prefer to stick with standard C++ and so use standard
include guards rather than #pragma once.
I agree we should eventually replace these include guards with ones
that don't have leading underscores.
from openh264.
I agree with EKR that we should probably just remove the leading underscores.
from openh264.
How do you think about to delete an underscore also from an identifier like "_WelsLogicalProcessorInfo"?
from openh264.
Related Issues (20)
- [h264 @ 0x7f802c2121c0] sps_id 1 out of range(ffplay), Warning:UpdateAccessUnit():::::Key frame lost(h264dec.exe) HOT 2
- how to use the openh264 binary
- "The gmpopenh264 plugin has crashed". Is this a known issue? HOT 5
- How can we make sps contain frame rate information?
- After the commit 986bd65b7111, decoding frequently fails with error. HOT 1
- Add a security policy
- Frame decode error. HOT 1
- Release 2.4.1 HOT 11
- Decoding quality is very poor in some situation. HOT 2
- Another frame decode error. HOT 1
- Openh264 createing an issue while upgrading from Fedora38 to Fedora 39 HOT 10
- Cross compiling from an macOS ARM64 machine to x86_64 fails
- hh
- ddggdgdg
- openH264
- Incorrect detection of logical CPU number HOT 2
- Visual glitch with video player. HOT 3
- Cisco-hosted `2.4.1` library reports version `2.4.0` HOT 10
- Binaries reporting 404 HOT 1
- build with visualsudio 2022 errors HOT 1
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 openh264.