Forum: Ruby-core [Backport93 - Backport #7162][Open] Need PRI_LL_PREFIX in Ruby 1.9.3 P286

Posted by raylinn@gmail.com (ray linn) (Guest)
on 2012-10-15 07:18
(Received via mailing list)
Issue #7162 has been reported by raylinn@gmail.com (ray linn).

----------------------------------------
Backport #7162: Need PRI_LL_PREFIX in Ruby 1.9.3 P286
https://bugs.ruby-lang.org/issues/7162

Author: raylinn@gmail.com (ray linn)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:


Here is my configuration using MinGW6 with MSYS

./configure --build=x86_64-w64-mingw32 CFLAGS="-O3 -finline-functions 
-I/usr/local/include -I/mingw/mingw/include -D__USE_MINGW_ANSI_STDIO" 
LDFLAGS="-L/usr/local/lib"

but found the #define PRI_LL_PREFIX "ll" exists in P194, but missing in 
P286. That cause several file compiled failed in P286.

add the define in the config.h , the compile can be continued
Posted by h.shirosaki (Hiroshi Shirosaki) (Guest)
on 2012-10-15 07:40
(Received via mailing list)
Issue #7162 has been updated by h.shirosaki (Hiroshi Shirosaki).


-D__USE_MINGW_ANSI_STDIO would not be needed.

I have the following in config.h with mingw build.

#define PRI_LL_PREFIX "I64"


Backport #7011 changed that and the behavior is same as trunk.


----------------------------------------
Backport #7162: Need PRI_LL_PREFIX in Ruby 1.9.3 P286
https://bugs.ruby-lang.org/issues/7162#change-30717

Author: raylinn@gmail.com (ray linn)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:


Here is my configuration using MinGW6 with MSYS

./configure --build=x86_64-w64-mingw32 CFLAGS="-O3 -finline-functions 
-I/usr/local/include -I/mingw/mingw/include -D__USE_MINGW_ANSI_STDIO" 
LDFLAGS="-L/usr/local/lib"

but found the #define PRI_LL_PREFIX "ll" exists in P194, but missing in 
P286. That cause several file compiled failed in P286.

add the define in the config.h , the compile can be continued
Posted by usa (Usaku NAKAMURA) (Guest)
on 2012-10-19 06:13
(Received via mailing list)
Issue #7162 has been updated by usa (Usaku NAKAMURA).

Status changed from Open to Closed

So, this is not a bug.
----------------------------------------
Backport #7162: Need PRI_LL_PREFIX in Ruby 1.9.3 P286
https://bugs.ruby-lang.org/issues/7162#change-31040

Author: raylinn@gmail.com (ray linn)
Status: Closed
Priority: Normal
Assignee:
Category:
Target version:


Here is my configuration using MinGW6 with MSYS

./configure --build=x86_64-w64-mingw32 CFLAGS="-O3 -finline-functions 
-I/usr/local/include -I/mingw/mingw/include -D__USE_MINGW_ANSI_STDIO" 
LDFLAGS="-L/usr/local/lib"

but found the #define PRI_LL_PREFIX "ll" exists in P194, but missing in 
P286. That cause several file compiled failed in P286.

add the define in the config.h , the compile can be continued
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.