search for: wchar_t

Displaying 20 results from an estimated 362 matches for "wchar_t".

2011 Feb 14
0
[LLVMdev] Introducing LLBrowse: A graphical browser for LLVM modules
...include/llbrowse/Resources.h:47: error: expected > ‘;’ before ‘*’ token Correction, 2.8.10 gets past these errors, and shows these errors instead: CMakeFiles/llbrowse.dir/lib/BrowserApp.cpp.o:(.rodata._ZTV10BrowserApp[vtable for BrowserApp]+0x120): undefined reference to `wxApp::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t const*, wchar_t const*)' CMakeFiles/llbrowse.dir/lib/BrowserApp.cpp.o:(.rodata._ZTV10BrowserApp[vtable for BrowserApp]+0x128): undefined reference to `wxAppConsole::OnAssert(wchar_t const*, int, wchar_t const*, wchar_t const*)' CMakeFiles/llbrowse.dir/li...
2011 Feb 14
3
[LLVMdev] Introducing LLBrowse: A graphical browser for LLVM modules
On 2011-02-14 20:39, Talin wrote: > > > On Mon, Feb 14, 2011 at 1:17 AM, Renato Golin <rengolin at systemcall.org > <mailto:rengolin at systemcall.org>> wrote: > > I think this deserves a blog post... > > I'd like to wait until I get some feedback - I don't know yet if anyone > is having trouble building or running the thing... Hi Talin,
2019 Feb 22
2
[PATCH 2/2] Cygwin: implement case-insensitive Unicode user and group name matching
...at 23:54, Corinna Vinschen <vinschen at redhat.com> wrote: > > > The previous revert enabled case-insensitive user names again. This > > > patch implements the case-insensitive user and group name matching. > > > To allow Unicode chars, implement the matcher using wchar_t chars in > > > Cygwin-specific code. Keep the generic code changes as small as possible. > > > Cygwin: implement case-insensitive Unicode user and group name matching > > > > Applied, thanks. > > > > I think it might be possible to make this less intrusi...
2003 Dec 22
2
[LLVMdev] hello.bc & binary code
...re not compatible: [12 x sbyte]* %_ZN9__gnu_cxx10numpunct_cE "struct.std::numpunct<char>"* %_ZN9__gnu_cxx10numpunct_cE WARNING: Found global types that are not compatible: [12 x sbyte]* %_ZN9__gnu_cxx10numpunct_wE "struct.std::numpunct<wchar_t>"* %_ZN9__gnu_cxx10numpunct_wE WARNING: Found global types that are not compatible: [8 x sbyte]* %_ZN9__gnu_cxx10time_get_cE "struct.std::__codecvt_abstract_base<char,char,__mbstate_t>"* %_ZN9__gnu_cxx10time_get_cE WARNING: Found global types that are no...
2005 May 12
0
Using string from stdlib in winemaker
...e/c++/3.3/cwchar:183: error: `wmemcpy' not declared /usr/include/c++/3.3/cwchar:184: error: `wmemmove' not declared /usr/include/c++/3.3/cwchar:185: error: `wmemset' not declared /usr/include/c++/3.3/cwchar:213: error: `wmemchr' not declared /usr/include/c++/3.3/cwchar: In function `wchar_t* std::wmemchr(wchar_t*, wchar_t, unsigned int)': /usr/include/c++/3.3/cwchar:217: error: invalid conversion from `const wchar_t* ' to `wchar_t*' /usr/include/c++/3.3/cwchar: At global scope: /usr/include/c++/3.3/cwchar:233: error: `wcstold' not declared /usr/include/c++/3.3/cw...
2011 Feb 14
5
[LLVMdev] Introducing LLBrowse: A graphical browser for LLVM modules
...rror: expected > > ‘;’ before ‘*’ token > > Correction, 2.8.10 gets past these errors, and shows these errors instead: > > CMakeFiles/llbrowse.dir/lib/BrowserApp.cpp.o:(.rodata._ZTV10BrowserApp[vtable > for BrowserApp]+0x120): undefined reference to > `wxApp::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t > const*, wchar_t const*)' > > CMakeFiles/llbrowse.dir/lib/BrowserApp.cpp.o:(.rodata._ZTV10BrowserApp[vtable > for BrowserApp]+0x128): undefined reference to > `wxAppConsole::OnAssert(wchar_t const*, int, wchar_t const*, wchar_t > const*)...
2008 Dec 31
1
wineg++ problem with the standard library
...t been declared /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/cwchar:205: error: ::wmemset has not been declared /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/cwchar:233: error: ::wmemchr has not been declared /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/cwchar: In function wchar_t* std::wmemchr(wchar_t*, wchar_t, size_t): /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/cwchar:237: error: invalid conversion from const wchar_t* to wchar_t* /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/cwchar:237: error: initializing argument 1 of wchar_t* std::wmemchr(wchar_t*,...
2024 Feb 28
0
[PATCH 1/1] stddef.h: add wchar_t type definition
...i.h:44, from /build/syslinux-6.03/efi/efi.h:23, from /build/syslinux-6.03/efi/adv.h:4, from /build/syslinux-6.03/efi/adv.c:29: /host/i686-buildroot-linux-gnu/sysroot/usr/include/efi/ia32/efibind.h:90:9: error: unknown type name 'wchar_t' typedef wchar_t CHAR16; ^~~~~~~ This is because gnu-efi started to use the "wchar_t" type from the toolchain's <stddef.h> header, in commit [1]. Before this commit, gnu-efi was defining the type as "short". Syslinux is including its own minimal...
2007 Sep 13
1
chartr better
...t;\u3041-\u3093","\u30a1-\u30f3","\u3084\u3063\u305f\u30fc") --- R-alpha.orig/src/main/character.c 2007-09-05 07:13:27.000000000 +0900 +++ R-alpha/src/main/character.c 2007-09-13 16:10:21.000000000 +0900 @@ -2041,6 +2041,16 @@ return(c); } +typedef struct { wchar_t c_old, c_new; } xtable_t; +static inline int xtable_comp(const xtable_t *a, const xtable_t *b) +{ + return a->c_old - b->c_old; +} +static inline int xtable_key_comp(const wchar_t *a, const xtable_t *b) +{ + return *a - b->c_old; +} + SEXP attribute_hidden do_chartr(SEXP call, SEXP...
2011 Feb 14
0
[LLVMdev] Introducing LLBrowse: A graphical browser for LLVM modules
...‘;’ before ‘*’ token >> >> Correction, 2.8.10 gets past these errors, and shows these errors instead: >> >> CMakeFiles/llbrowse.dir/lib/BrowserApp.cpp.o:(.rodata._ZTV10BrowserApp[vtable >> for BrowserApp]+0x120): undefined reference to >> `wxApp::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t >> const*, wchar_t const*)' >> >> CMakeFiles/llbrowse.dir/lib/BrowserApp.cpp.o:(.rodata._ZTV10BrowserApp[vtable >> for BrowserApp]+0x128): undefined reference to >> `wxAppConsole::OnAssert(wchar_t const*, int, wchar_t const*, wc...
2018 Mar 20
2
lld/lto/win32 crash on DIE code
...oo. https://www.dropbox.com/s/n3e2eystps9qvwx/repro.tar?dl=0 > lld.exe!HandleAbort(int Sig) Line 411 C++ Symbols loaded. ucrtbased.dll!raise(int signum) Line 541 C++ Symbols loaded. ucrtbased.dll!abort() Line 64 C++ Symbols loaded. ucrtbased.dll!common_assert_to_stderr_direct(const wchar_t * const expression, const wchar_t * const file_name, const unsigned int line_number) Line 161 C++ Symbols loaded. ucrtbased.dll!common_assert_to_stderr<wchar_t>(const wchar_t * const expression, const wchar_t * const file_name, const unsigned int line_number) Line 175 C++ Symbols loade...
2019 Feb 22
3
[PATCH 2/2] Cygwin: implement case-insensitive Unicode user and group name matching
On Wed, 20 Feb 2019 at 23:54, Corinna Vinschen <vinschen at redhat.com> wrote: > The previous revert enabled case-insensitive user names again. This > patch implements the case-insensitive user and group name matching. > To allow Unicode chars, implement the matcher using wchar_t chars in > Cygwin-specific code. Keep the generic code changes as small as possible. > Cygwin: implement case-insensitive Unicode user and group name matching Applied, thanks. I think it might be possible to make this less intrusive by adding a match_user_pattern_list() function that just...
2005 Aug 26
1
wchar and wstring.
...sly (when I wanted to make R strings from C++ std::strings), I would do something like this to construct a string in R from the results of the parse. SET_VECTOR_ELT(vals, i++, mkString(header.GetHeader().c_str())); However, now the call header.GetHeader().c_str() returns a pointer to an array of wchar_t's. I was going to use wcstombs() to convert the wchar_t* to char*, but I wanted to see if there was a similar function in R for the mkString function which I had initially used which deals with wchar_ts as opposed to chars. Also, since I have no experience with the wctombs() function I wanted t...
2019 Mar 12
2
[PATCH 2/2] Cygwin: implement case-insensitive Unicode user and group name matching
...@ -37,6 +37,7 @@ > #include <string.h> > #include <unistd.h> > #include <stdarg.h> > +#include <stdlib.h> > #include <wchar.h> > #include <wctype.h> > > @@ -191,16 +192,20 @@ _match_pattern(const char *s, const char *pattern) > wchar_t *ws; > wchar_t *wpattern; > size_t len; > + int ret; > > if ((len = mbstowcs(NULL, s, 0)) < 0) > return 0; > - ws = (wchar_t *) alloca((len + 1) * sizeof (wchar_t)); > + ws = (wchar_t *) xcalloc(len + 1, sizeof (wchar_t)); > mbstowcs(ws, s, len + 1); >...
2007 Mar 06
1
Errors compiling flac in Visual Studio Express 2005
...none of the 2 overloads could convert all the argument types 14> c:\program files\microsoft visual studio 8\vc\include\string.h(125) : see declaration of 'strerror' 15> c:\program files\microsoft visual studio 8\vc\include\swprintf.inl(36): could be 'int swprintf(wchar_t *,size_t,const wchar_t *,...)' 15> c:\program files\microsoft visual studio 8\vc\include\swprintf.inl(85): or 'int swprintf(wchar_t *,const wchar_t *,...)' 14> Message: 'This function or variable may be unsafe. Consider using strerror_s instead. To disable de...
2005 Jan 20
2
Compiling wxRuby 0.6 with Borland C++ Compiler
I''m trying to recompile wxRuby 0.6 using Borland''s C++ Compiler (version 5.5.1). So far I was able to do the following: 1) Recompile a working version of ruby V1.8.1 executable using bcc32 2) Recompile a working version of wxWindows 2.4.2 using bcc32   However for wxruby, I''m having some problems with the Makefile which I fixed. Now when I''m compiling the
2018 Mar 20
0
lld/lto/win32 crash on DIE code
This one triggers an assertion in calculateSEHStateNumbers due to weird catchpad instruction in @_island_debug_invoke and many other functions. The code expects either pointer to a filter function or null in first operand, while you're passing pointer to structure: catchpad within %80 [{i8*, i8*}* anon..., ...] ________________________________________ От: Carlo Kok <ck at
2004 Sep 10
2
reading vorbis comments with FLAC++?
...the C > > API. > > OK. I assumed that stuff passed back to the user as char* would have > been made to behave like a normal C string. > > > it's hard to do that without dealing with encodings right in the > > metadata API. > > What about making them return wchar_t* and thus IMPLYING to the user > that they have to do something about character conversion? wchar_t still means converting to ucs-2 in the metadata library. that's not nearly as bad as dealing with multiple encodings, but it's independent of the question of whether or not to null- termi...
2018 Mar 21
0
lld/lto/win32 crash on DIE code
...qvwx/repro.tar?dl=0 > lld.exe!HandleAbort(int Sig) Line 411 C++ Symbols loaded. ucrtbased.dll!raise(int signum) Line 541 C++ Symbols loaded. ucrtbased.dll!abort() Line 64 C++ Symbols loaded. ucrtbased.dll!common_assert_to_stderr_direct(const wchar_t * const expression, const wchar_t * const file_name, const unsigned int line_number) Line 161 C++ Symbols loaded. ucrtbased.dll!common_assert_to_stderr<wchar_t>(const wchar_t * const expression, const wchar_t * const file_name, const unsigned int line_number) Line 175 C++...
2018 Mar 20
2
lld/lto/win32 crash on DIE code
Op 16-3-2018 om 20:16 schreef Evgeny Leviant: > Hello Carlo, > > I tried your reproducer and faced different problem from one you described > (I'm using MacOS Sierra and lld built from trunk on Mar, 15). The crash happens > when SelectionDAGBuilder::lowerInvokable tries to access EH info of this function: > >