Skip to content
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

Avoid warning about missing space around literal #44

Closed
wants to merge 1 commit into from
Closed

Avoid warning about missing space around literal #44

wants to merge 1 commit into from

Conversation

marcelm
Copy link

@marcelm marcelm commented Mar 18, 2020

This fixes the following warning (for PRIu64 when used in printf):

invalid suffix on literal; C++11 requires a space between literal and string macro

While just a warning on GCC, this is actually an error on Clang, and since Bioconda builds its macOS packages using Clang, Bioconda currently need a patch for samblaster.

See bioconda/bioconda-recipes#20931

This also turns the warning into an error even on GCC to avoid the problem in the future.

This fixes the following warning (for PRIu64 when used in printf):

"invalid suffix on literal; C++11 requires a space between literal and string
macro"

While just a warning on GCC, this is actually on error on Clang, and since
Bioconda builds its macOS packages using Clang, Bioconda builds currently
need a patch for samblaster.

See bioconda/bioconda-recipes#20931

This also turns the warning into an error to avoid the problem in the
future.
@GregoryFaust
Copy link
Owner

Addressed in v.0.1.26

@marcelm marcelm deleted the literalspace branch June 4, 2020 21:23
marcelm added a commit to bioconda/bioconda-recipes that referenced this pull request Jun 4, 2020
This patch is no longer necessary according to GregoryFaust/samblaster#44 (comment)
marcelm added a commit to bioconda/bioconda-recipes that referenced this pull request Jun 4, 2020
* Update samblaster to 0.1.26

* Delete spaces_around_identifier.patch

This patch is no longer necessary according to GregoryFaust/samblaster#44 (comment)

* The patch is no longer needed

* Update meta.yaml

* Update meta.yaml

Co-authored-by: Marcel Martin <marcel.martin@scilifelab.se>
a-solovyev12 pushed a commit to ebi-gene-expression-group/bioconda-recipes that referenced this pull request Jun 29, 2020
* Update samblaster to 0.1.26

* Delete spaces_around_identifier.patch

This patch is no longer necessary according to GregoryFaust/samblaster#44 (comment)

* The patch is no longer needed

* Update meta.yaml

* Update meta.yaml

Co-authored-by: Marcel Martin <marcel.martin@scilifelab.se>
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.

2 participants