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

Buildflags #36

Open
remicollet opened this issue Dec 15, 2013 · 3 comments
Open

Buildflags #36

remicollet opened this issue Dec 15, 2013 · 3 comments
Assignees

Comments

@remicollet
Copy link
Contributor

Hi,

CFLAGS is set in config.m4.
This is a bad practice as this don't honor default build flags used in downstream distribution.

As you only add warnings, probably you can omit those.

Else, please use CFLAGS="CFLAGS ..."

FYI, fedora use : "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic" and I often add "-Werror"

for now, I will use sed -e 's/CFLAGS/IGNORED/' -i config.m4

@ghost ghost assigned chobie Dec 15, 2013
@remicollet
Copy link
Contributor Author

FYI, with -Wall, we have various warnings (nothin serious, but easy to fix)

  • warning: 'call_user_function_v' defined but not used [-Wunused-function]
  • warning: 'php_sundown__get_flags' defined but not used [-Wunused-function]

@remicollet
Copy link
Contributor Author

Another small issue: sundown/html/html.c is executable, please chmod it.

@chobie
Copy link
Owner

chobie commented Dec 15, 2013

sundown/html/html.c is under the vmg/sundown repository. also hoedown keeps same permission.
we should report it to hoedown.

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

No branches or pull requests

2 participants