You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (JIRA)" <ji...@apache.org> on 2011/03/29 22:04:05 UTC
[jira] [Created] (THRIFT-1124) GO compiler breaks build of Thrift
Compiler for Windows
GO compiler breaks build of Thrift Compiler for Windows
-------------------------------------------------------
Key: THRIFT-1124
URL: https://issues.apache.org/jira/browse/THRIFT-1124
Project: Thrift
Issue Type: Bug
Reporter: Roger Meier
see https://builds.apache.org/hudson/job/Thrift-Compiler-Windows/1/console
{noformat}
i586-mingw32msvc-g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -DMINGW -Wall -g -O2 -MT thrift-t_go_generator.o -MD -MP -MF .deps/thrift-t_go_generator.Tpo -c -o thrift-t_go_generator.o `test -f 'src/generate/t_go_generator.cc' || echo './'`src/generate/t_go_generator.cc
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/io.h: In member function 'virtual void t_go_generator::init_generator()':
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/io.h:176: error: too many arguments to function 'int mkdir(const char*)'
src/generate/t_go_generator.cc:321: error: at this point in file
{noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (THRIFT-1124) GO compiler breaks build of Thrift
Compiler for Windows
Posted by "Roger Meier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012854#comment-13012854 ]
Roger Meier commented on THRIFT-1124:
-------------------------------------
add ifdef for crossplatform mkdir, ugly but it works!
Sorry for breaking the build with my previous patch;-)
> GO compiler breaks build of Thrift Compiler for Windows
> -------------------------------------------------------
>
> Key: THRIFT-1124
> URL: https://issues.apache.org/jira/browse/THRIFT-1124
> Project: Thrift
> Issue Type: Bug
> Components: Go - Compiler
> Reporter: Roger Meier
> Assignee: Roger Meier
> Attachments: THRIFT-1124_go_compiler_mkdir_without_mask.patch
>
>
> see https://builds.apache.org/hudson/job/Thrift-Compiler-Windows/1/console
> {noformat}
> i586-mingw32msvc-g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -DMINGW -Wall -g -O2 -MT thrift-t_go_generator.o -MD -MP -MF .deps/thrift-t_go_generator.Tpo -c -o thrift-t_go_generator.o `test -f 'src/generate/t_go_generator.cc' || echo './'`src/generate/t_go_generator.cc
> /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/io.h: In member function 'virtual void t_go_generator::init_generator()':
> /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/io.h:176: error: too many arguments to function 'int mkdir(const char*)'
> src/generate/t_go_generator.cc:321: error: at this point in file
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (THRIFT-1124) GO compiler breaks build of Thrift
Compiler for Windows
Posted by "Roger Meier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roger Meier updated THRIFT-1124:
--------------------------------
Attachment: THRIFT-1124_go_compiler_mkdir_without_mask.patch
removes mkdir parameter for Unix permission
> GO compiler breaks build of Thrift Compiler for Windows
> -------------------------------------------------------
>
> Key: THRIFT-1124
> URL: https://issues.apache.org/jira/browse/THRIFT-1124
> Project: Thrift
> Issue Type: Bug
> Components: Go - Compiler
> Reporter: Roger Meier
> Attachments: THRIFT-1124_go_compiler_mkdir_without_mask.patch
>
>
> see https://builds.apache.org/hudson/job/Thrift-Compiler-Windows/1/console
> {noformat}
> i586-mingw32msvc-g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -DMINGW -Wall -g -O2 -MT thrift-t_go_generator.o -MD -MP -MF .deps/thrift-t_go_generator.Tpo -c -o thrift-t_go_generator.o `test -f 'src/generate/t_go_generator.cc' || echo './'`src/generate/t_go_generator.cc
> /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/io.h: In member function 'virtual void t_go_generator::init_generator()':
> /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/io.h:176: error: too many arguments to function 'int mkdir(const char*)'
> src/generate/t_go_generator.cc:321: error: at this point in file
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (THRIFT-1124) GO compiler breaks build of Thrift
Compiler for Windows
Posted by "Roger Meier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roger Meier resolved THRIFT-1124.
---------------------------------
Resolution: Fixed
Assignee: Roger Meier
committed
> GO compiler breaks build of Thrift Compiler for Windows
> -------------------------------------------------------
>
> Key: THRIFT-1124
> URL: https://issues.apache.org/jira/browse/THRIFT-1124
> Project: Thrift
> Issue Type: Bug
> Components: Go - Compiler
> Reporter: Roger Meier
> Assignee: Roger Meier
> Attachments: THRIFT-1124_go_compiler_mkdir_without_mask.patch
>
>
> see https://builds.apache.org/hudson/job/Thrift-Compiler-Windows/1/console
> {noformat}
> i586-mingw32msvc-g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -DMINGW -Wall -g -O2 -MT thrift-t_go_generator.o -MD -MP -MF .deps/thrift-t_go_generator.Tpo -c -o thrift-t_go_generator.o `test -f 'src/generate/t_go_generator.cc' || echo './'`src/generate/t_go_generator.cc
> /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/io.h: In member function 'virtual void t_go_generator::init_generator()':
> /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/io.h:176: error: too many arguments to function 'int mkdir(const char*)'
> src/generate/t_go_generator.cc:321: error: at this point in file
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (THRIFT-1124) GO compiler breaks build of Thrift
Compiler for Windows
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016563#comment-13016563 ]
Hudson commented on THRIFT-1124:
--------------------------------
Integrated in Thrift #113 (See [https://hudson.apache.org/hudson/job/Thrift/113/])
> GO compiler breaks build of Thrift Compiler for Windows
> -------------------------------------------------------
>
> Key: THRIFT-1124
> URL: https://issues.apache.org/jira/browse/THRIFT-1124
> Project: Thrift
> Issue Type: Bug
> Components: Go - Compiler
> Reporter: Roger Meier
> Assignee: Roger Meier
> Attachments: THRIFT-1124_go_compiler_mkdir_without_mask.patch
>
>
> see https://builds.apache.org/hudson/job/Thrift-Compiler-Windows/1/console
> {noformat}
> i586-mingw32msvc-g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -DMINGW -Wall -g -O2 -MT thrift-t_go_generator.o -MD -MP -MF .deps/thrift-t_go_generator.Tpo -c -o thrift-t_go_generator.o `test -f 'src/generate/t_go_generator.cc' || echo './'`src/generate/t_go_generator.cc
> /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/io.h: In member function 'virtual void t_go_generator::init_generator()':
> /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/io.h:176: error: too many arguments to function 'int mkdir(const char*)'
> src/generate/t_go_generator.cc:321: error: at this point in file
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (THRIFT-1124) GO compiler breaks build of Thrift
Compiler for Windows
Posted by "Roger Meier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roger Meier updated THRIFT-1124:
--------------------------------
Component/s: Go - Compiler
> GO compiler breaks build of Thrift Compiler for Windows
> -------------------------------------------------------
>
> Key: THRIFT-1124
> URL: https://issues.apache.org/jira/browse/THRIFT-1124
> Project: Thrift
> Issue Type: Bug
> Components: Go - Compiler
> Reporter: Roger Meier
>
> see https://builds.apache.org/hudson/job/Thrift-Compiler-Windows/1/console
> {noformat}
> i586-mingw32msvc-g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -DMINGW -Wall -g -O2 -MT thrift-t_go_generator.o -MD -MP -MF .deps/thrift-t_go_generator.Tpo -c -o thrift-t_go_generator.o `test -f 'src/generate/t_go_generator.cc' || echo './'`src/generate/t_go_generator.cc
> /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/io.h: In member function 'virtual void t_go_generator::init_generator()':
> /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/io.h:176: error: too many arguments to function 'int mkdir(const char*)'
> src/generate/t_go_generator.cc:321: error: at this point in file
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira