-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sqUnixDragDrop.c missing a declaration of fileRecordSize() #693
Comments
When building on Debian Linux 12.6 using the Debian build essentials tools + libx11-dev there is a warning in dropRequestFileHandle for an undeclared function fileRecordSize(). However the build continues in that case and the function seems defined in the TEXT segment of FilePlugin.o and undefined in DropPlugin.o. The VM from VMMaker.oscog-eem.3424 seems to work. Also when building on OpenIndiana (UNIX with the Illumos kernel, that is, not on Linux) using gcc 13.3 there is also a warning on fileRecordSize() being undeclared but the VM works. Because I read a different report , are you using Fails to compile on EndeavourOS #685 is this on ArchLinux, Fedora clang/gcc ? I can confirm that I have also seen some build failures during the last weeks with some code cleanup in OpenSmalltalk (for example in sqUnixMain.c) so maybe you could to reproduce the issue by trying a clean new build ? |
Yes, I am doing this on ArchLinux. It looks like the compilers have become less tolerant of undeclared functions. Note the following in the output:
Clean new build still fails at this point. |
Handwave a decade or so back I instigated the need for this, please submitted a git pull request to resolve
Sent from [Proton Mail](https://proton.me/mail/home) for iOS
…On Sun, Aug 18, 2024 at 22:25, Kirtai via Vm-dev ***@***.***(mailto:On Sun, Aug 18, 2024 at 22:25, Kirtai via Vm-dev <<a href=)> wrote:
Yes, I am doing this on ArchLinux. It looks like the compilers have become less tolerant of undeclared functions.
Note the following in the output:
ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Clean new build still fails at this point.
—
Reply to this email directly, [view it on GitHub](#693 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AIJPEW3WTFH77KJYJTHSEXDZSF6TZAVCNFSM6AAAAABL2SAWVCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJVGY4TKNRTHE).
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
During the last weeks or months (since May I think) I've had some build failures due to code cleanup or changes in the opensmalltalk-vm sources. These sources are partly generated by the VMMaker tool so for example the code for FilePlugin or DropPlugin is partly automatically generated (as indicated by the VMMaker header notice). In some cases it is perhaps a solution to use the binaries from the squeak.org website instead of compiling a vm binary yourself. |
sqUnixDragDrop.c fails to build due to a missing declaration of fileRecordSize()
Error log
The text was updated successfully, but these errors were encountered: