Bugs item #2821869, was opened at 2009-07-15 16:42 Message generated for change (Comment added) made by namtrac You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=865514&aid=2821869&group_id=173455
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: w32api Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: İsmail Dönmez (namtrac) Assigned to: Danny Backx (dannybackx) Summary: atoll should be defined even when strict ansi is enabled Initial Comment: When -std=c99 flag is invoked gcc enables __STRICT_ANSI__ and this hides the definition of atoll() and related functions (see stdlib.h) but atoll() and related functions like strtoll is part of C99 standard and should be enabled even if __STRICT_ANSI__ is enabled. ---------------------------------------------------------------------- >Comment By: İsmail Dönmez (namtrac) Date: 2009-07-20 11:17 Message: When compiling ffmpeg with networking support I get the following error: libavformat/http.o:http.c:(.text+0x640): relocation truncated to fit: ARM_26 against undefined symbol `atoll' File is compiled with the following flags: arm-mingw32ce-gcc -DHAVE_AV_CONFIG_H -I. -I"/root/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/opt/mingw32ce/include -march=armv4t -std=c99 -fno-common -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize -c -o libavformat/http.o libavformat/http.c So I thought it must be __STRICT_ANSI__ breaking atoll. ---------------------------------------------------------------------- Comment By: Danny Backx (dannybackx) Date: 2009-07-20 09:31 Message: For which functions exactly should this be changed ? I find references to atoll being added, and strtoll. But strtoll looks right in stdlib.h, even though you mention it. Maybe only atoll needs changing ? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=865514&aid=2821869&group_id=173455 ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel