Skip to content

Rename EOF property fixing C++ compile error - #37

Open
d-jansen wants to merge 1 commit into
geby:masterfrom
d-jansen:fix_cbuilder_compile_problem
Open

Rename EOF property fixing C++ compile error#37
d-jansen wants to merge 1 commit into
geby:masterfrom
d-jansen:fix_cbuilder_compile_problem

Conversation

@d-jansen

@d-jansen d-jansen commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

When compiling with C++ Builder the property EOF collides with the EOF constant of the C library.

The generated blcksock.hpp file produces an error with the EOF property declaration. The reason is the EOF macro of the C Library which expands the EOF property name to the integer value -1.

Renaming the property EOF to EOFsignaled solves this issue.

When compiling with C++ Builder the property EOF collides with the EOF
constant of the C library.
The generated blcksock.hpp file produces an error with the EOF property
declaration. The reason is the EOF macro of the C Library which expands
the EOF property name to the integer value -1.
Renaming the property EOF to EOFsignaled solves this issue.
@d-jansen
d-jansen force-pushed the fix_cbuilder_compile_problem branch from 2b9dd09 to f1267e7 Compare July 25, 2026 08:10
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.

1 participant