Skip to content

Conversation

@Girgias
Copy link
Member

@Girgias Girgias commented Jun 4, 2024

Part of #14448

MBString is going to be tricky to get warning free, as I don't necessarily understand everything what is happening, but the ones in this PR should be safe. However, I will likely add the -Wno-sign-compare warning to the extension CFLAGS to let someone else deal with those issues long term.

mem += scoreboard_size;

for (i = 0; i < scoreboard->nprocs; i++, mem += sizeof(struct fpm_scoreboard_proc_s)) {
for (unsigned int i = 0; i < scoreboard->nprocs; i++, mem += sizeof(struct fpm_scoreboard_proc_s)) {
Copy link
Member

@devnexen devnexen Jun 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: since you changed here ... fpm_scoreboard_proc_acquire takes a signed int.

Copy link
Member

@devnexen devnexen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lctm for the pcntl part

struct timeval duration, now;
double cpu;
int i;
unsigned int i;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto.

Copy link
Member

@ndossche ndossche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack for zend_test, dom, fileinfo

Copy link
Contributor

@alexdowad alexdowad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see anything which I believe could possibly cause a problem with mbstring.

@Girgias Girgias force-pushed the fix-sign-conversions3 branch from d0e68fe to d71456d Compare June 6, 2024 15:17
@Girgias
Copy link
Member Author

Girgias commented Jun 6, 2024

I am splitting the FPM changes to a different PR for the future

@Girgias Girgias merged commit a580d4a into php:master Jun 6, 2024
@Girgias Girgias deleted the fix-sign-conversions3 branch June 6, 2024 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants