Skip to content

Conversation

@JJL772
Copy link

@JJL772 JJL772 commented Oct 15, 2025

C23 mandates casting between function pointer types, and the compiler can no longer infer arguments when calling functions with empty argument lists.

GCC 15 changes the default C standard to C23, so asyn will only build if USR_CFLAGS=-std=c17 (for example) is set when running make.

@tboegi
Copy link
Contributor

tboegi commented Oct 16, 2025

Think that the information from themessage here in the PR
should be part of the commit message.

Different question:
Does this work with EPICS base 3.15 ?
If not, some inspiration may be taken from here:
https://github.com/epics-modules/motor/blob/master/motorApp/MotorSrc/motor_epics_inc.h
(But there may be other implementations)

@AppVeyorBot
Copy link

Build asyn 1.0.302 failed (commit d74761783a by @JJL772)

@JJL772
Copy link
Author

JJL772 commented Oct 16, 2025

@tboegi That's a good question. does 3.15 not have DEVSUPFUN/RECSUPFUN?

appveyor seems to be passing for base 3.14/3.15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants