Fix 'true' definition. #5

Merged
MicheleC merged 1 commits from bugfix/43_ftbfs_pclinuxos_krfb into master 2 years ago
Collaborator

This fixes issue TDE/tdenetwork#43.

Signed-off-by: François Andriot francois.andriot@libertysurf.fr

This fixes issue TDE/tdenetwork#43. Signed-off-by: François Andriot <francois.andriot@libertysurf.fr>
Francois added 1 commit 2 years ago
512fd4d832
Fix 'true' definition.
MicheleC merged commit 512fd4d832 into master 2 years ago
MicheleC deleted branch bugfix/43_ftbfs_pclinuxos_krfb 2 years ago
MicheleC added this to the R14.1.0 release milestone 2 years ago
Owner

Thanks, looks good.

Thanks, looks good.
obache commented 2 years ago
Collaborator

Why true and false must be defined here? not used directly, in C language scope whereas in C++ source code.

It seems true is defined before a system header try to define it, at least it's in bad place.

Why `true` and `false` must be defined here? not used directly, in C language scope whereas in C++ source code. It seems `true` is defined before a system header try to define it, at least it's in bad place.
Owner

yeah, good point Obata-san! We could just remove the complete #ifdef block around those lines.... I am currently testing it and will push a commit for it after a successful built.
Good catch and thanks for pointing this out!

yeah, good point Obata-san! We could just remove the complete #ifdef block around those lines.... I am currently testing it and will push a commit for it after a successful built. Good catch and thanks for pointing this out!
Owner

I have removed those definitions both in master and r14.0.x branch.
I tested a successful build in master, but not in r14.0.x.
@Francois could you verify everything is good on your hand on r14.0.x?

I have removed those definitions both in master and r14.0.x branch. I tested a successful build in master, but not in r14.0.x. @Francois could you verify everything is good on your hand on r14.0.x?
Poster
Collaborator

Hello, I confirm that removing the definition entirely works OK.

Hello, I confirm that removing the definition entirely works OK.
Owner

Thanks for the feedback @Francois.

Thanks for the feedback @Francois.
The pull request has been merged as 512fd4d832.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/libtdevnc#5
Loading…
There is no content yet.