GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    ThePhD (thephd@pony.social)'s status on Thursday, 08-May-2025 02:53:48 JST ThePhD ThePhD

    (please discuss, boost, etc, the usual)

    In conversation about 21 days ago from pony.social permalink
    • Embed this notice
      ThePhD (thephd@pony.social)'s status on Thursday, 08-May-2025 02:53:46 JST ThePhD ThePhD
      in reply to

      Apparently, a bunch of people do not know this (on other platforms, anyhow), so here's your pre-emptive C trvth nvke for the day:

      A void* is not guaranteed to be big enough or the right representation for any function pointer type. That is not a guarantee all architectures have and not one the C standard has either.

      It's why pedantic compilation yells at you for function pointer -> void* conversions.

      Windows, and all POSIX machines, have this guarantee. Embedded almost never does, especially with space-conscious / multi-segmented data spaces.

      In conversation about 21 days ago permalink

      Attachments

      1. No result found on File_thumbnail lookup.
        either.it
        This domain may be for sale!
    • Embed this notice
      ThePhD (thephd@pony.social)'s status on Thursday, 08-May-2025 02:53:47 JST ThePhD ThePhD
      in reply to

      I'm gonna go with %q probably

      In conversation about 21 days ago permalink
      Steve's Place repeated this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.