Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for DavidCary
| Type | On... | Excerpt | Status | Date |
|---|---|---|---|---|
| Edit | Post #295676 | Initial revision | — | 6 months ago |
| Question | — |
How to partially pre-process a file, without expanding #include or #embed ? I'm debugging some "clever" macros (similar to, but not exactly the same as, X macros https://software.codidact.com/posts/293492 ). Is there a way to get a compiler or a preprocessor (such as `gcc` or `cpp` or `gpp`) to expand only "short" macros and leave "long" preprocessor stuff alone? s... (more) |
— | 6 months ago |
| Edit | Post #294554 | Initial revision | — | about 1 year ago |
| Question | — |
How do I run Python scripts on Android devices? How do I run Python scripts on Android devices? There seem to be a bunch of different approaches; what are the advantages and disadvantages? In no particular order (and likely missing some useful tools): Kivy Python framework Termux[^py-docs] Pyodide Scripting Layer for Android ... (more) |
— | about 1 year ago |
| Edit | Post #294382 | Initial revision | — | about 1 year ago |
| Question | — |
What is a "security protocol"? Is it the same as a "cryptographic protocol"? What is the difference (if any) between a "security protocol" and a "cryptographic protocol"? Or are they synonyms? Some of the references I've seen -- (a), (b), (c), (d), etc. -- mention both "security protocol" and "cryptographic protocol" with no clear distinction between them. Other art... (more) |
— | about 1 year ago |
| Comment | Post #287754 |
Going the other direction, assigning a struct pointer to a block of memory allocated much larger than that structure, is common: https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html ; https://news.ycombinator.com/item?id=11674374 . (But I realize now doesn't answer your question). (more) |
— | over 3 years ago |
| Comment | Post #282566 |
"The default is -Wunused-result" --
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
seems to say that
-Wunused-result is already enabled by default. (more) |
— | almost 5 years ago |
