Skip to content

Conversation

cheese
Copy link

@cheese cheese commented Feb 15, 2020

If 'vec' is a vector, calling 'vec[0]' will crash the program if
'vec' is empty and '-Wp,-D_GLIBCXX_ASSERTIONS' given in CXXFLAGS.

Fixes #272

If 'vec' is a vector, calling 'vec[0]' will crash the program if
'vec' is empty and '-Wp,-D_GLIBCXX_ASSERTIONS' given in CXXFLAGS.

Fixes gearman#272
@esabol
Copy link
Member

esabol commented Feb 16, 2020

LGTM.

@SpamapS
Copy link
Member

SpamapS commented Feb 18, 2020

This is fine, but at some point soon I think I'd like to say gearmand uses C++11 and drop support for gcc < 4.8.1 .

@SpamapS SpamapS merged commit a6bd168 into gearman:master Feb 18, 2020
@SpamapS
Copy link
Member

SpamapS commented Feb 18, 2020

Oh also, THANKS!

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.

FAIL t/hostile_gearmand (exit status: 134) if CXXFLAGS contains '-Wp,-D_GLIBCXX_ASSERTIONS'
4 participants