Sponsored Content
Full Discussion: -d_gnu_source
Top Forums Programming -d_gnu_source Post 302284122 by wqqafnd on Wednesday 4th of February 2009 10:33:57 PM
Old 02-04-2009
If the code depends on GNU functions, then we'll get warnings and fix
it once -D_GNU_SOURCE is removed.

If the code depends on incorrect GNU semantics in standardized
functions (which conflict with POSIX) then the code is already
_BROKEN_ on non-GNU implementations, and -D_GNU_SOURCE just works
around the problem on GNU systems. If this is the case it's better to
let it break then find the problems and fix it rather than having
subtle bugs. But I doubt it's the case anyway.

Either way, using -D_GNU_SOURCE is a very bad idea IMO.

If you're worried about differing from upstream we should complain to
upstream and ask them to remove the -D_GNU_SOURCE.
 
FIXPS(1)								FSF								  FIXPS(1)

NAME
fixps - sanitize PostScript files SYNOPSIS
fixps [OPTIONS] FILE DESCRIPTION
Try to fix common PostScript problems that break postprocessing. OPTIONS
-h, --help display this help and exit -v, --version display version information and exit -q, --quiet don't print informational messages -o, --output=FILE save result in FILE. If FILE is `-', send to stdout -f, --force force full rewrite by ghostscript -n, --no-fix don't fix the FILE, but still honor `-o' -c, --check, --dry-run don't perform any action Fixes: - Remove junk before and after PostScript content - Use only Unix end of lines ( ) - Remove empty lines - Fix Apple prologue (fix- macps) - Fix FrameMaker prologue (fixfmps) - Fix CorelDraw prologue (fixnt) - Fix Windows NT 3.5/4.0 prologue (fixnt) - Fix Windows 95 prologue - Ensure there is a `%%BeginSetup/%%EndSetup' section - Removes Canvas' extraneaous `%%EndDocument:' comments - Split too long lines If the FILE seems really in a bad state, ghostscript may be used to perform a full rewrite. The output might then be significantly bigger, but much safer. AUTHOR
Written by Akim Demaille. REPORTING BUGS
Report bugs to <bug-a2ps@gnu.org> COPYRIGHT
Copyright (C) 1998-2000 Akim Demaille, Miguel Santana This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. SEE ALSO
a2ps(1), card(1), fixps(1), pdiff(1), psset(1), texi2dvi4a2ps(1). The full documentation for fixps is maintained as a Texinfo manual. If the info and fixps programs are properly installed at your site, the command info fixps should give you access to the complete manual. fixps 1.6 (GNU a2ps 4.13) February 2000 FIXPS(1)
All times are GMT -4. The time now is 04:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy