Displaying 20 results from an estimated 669 matches for "wchar".
Did you mean:
char
2006 Nov 05
1
RC11 Build Failure on FreeBSD 6.1
...t at jail7.jvds.com:/usr/obj/usr/src/sys/JAIL7 i386
Configured with a straight ./configure, no options, no problems reported
during configure, but make failed with:
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT mountpoint.o -MD
-MP -MF ".deps/mountpoint.Tpo" -c -o mountpoint.o mountpoint.c; then mv
-f ".deps/mountpoint.Tpo" ".deps/mountpoint.Po"; else rm -f
".deps/mountpoint.Tpo"; exit 1; fi
mountpoint.c:11:30: #if with...
2010 May 20
3
Install eventmachine on Debian Lenny
...tat.h: No existe el fichero o el directorio
project.h:47:20: error: sys/un.h: No existe el fichero o el directorio
project.h:48:26: error: sys/resource.h: No existe el fichero o el
directorio
project.h:49:22: error: sys/wait.h: No existe el fichero o el directorio
In file included from /usr/include/wchar.h:37,
from /usr/include/c++/4.3/cwchar:52,
from /usr/include/c++/4.3/bits/postypes.h:47,
from /usr/include/c++/4.3/iosfwd:47,
from /usr/include/c++/4.3/ios:44,
from /usr/include/c++/4.3/ostream:45,...
2003 Jan 14
1
0.99.7 out
This one seems to be actually working. Also rewrote doc/index.txt in
case someone is interested.
2004 Feb 25
5
Wide strings and LPCTSTR types
All,
I was experimenting with converting LPCTSTR strings to wide strings with
something like this:
// Converts a Ruby string to a LPWSTR
LPCTSTR AllocWideLString(VALUE rbString){
char* str = STR2CSTR(rbString);
int length = (strlen(str)+1) * sizeof(WCHAR);
LPCTSTR lpStr = (LPCTSTR)malloc(length);
MultiByteToWideChar(
CP_ACP,
0,
str,
strlen(str)+1,
(LPWSTR)lpStr,
length
);
return lpStr;
}
But, that didn''t seem to work very well in testing. Is there a better
way? Otherwise, I''ll...
2014 Jan 13
0
Re: [PATCH 1/7] Add a minimal hive with "special" keys and values
...1,59 @@
> +/* use the NT native API to create registry key and value that contain
> + a zero character */
> +
> +#include <ntdef.h>
> +#include <stdio.h>
> +#include <ddk/wdm.h>
> +#include <windef.h>
> +
> +void create_key_value (PHANDLE handle, WCHAR* key, int key_len, WCHAR* val, int val_len)
> +{
> + UNICODE_STRING key_name = { key_len, key_len, key };
> + UNICODE_STRING value_name = { val_len, val_len, val };
> + OBJECT_ATTRIBUTES key_obj;
> + InitializeObjectAttributes (&key_obj, &key_name,
> +...
2010 Feb 23
1
patch about compile R with clang
clang is compiler http://clang.llvm.org, it is fast and better c compiler then gcc, yesterday i use clang and gfortran compile R.
The only two change in source code is :
1. the configure file (in confiure when test include wctype.h,gcc can compile but clang need include both wchar.h wctype.h),so this is patch
--- /r/configure
+++ /myr/configure
@@ -39172,6 +39172,7 @@
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
$ac_includes_default
+#include <wchar.h>
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
@@ -39480,6 +39481,7 @@
cat...
2014 Jan 10
14
[PATCH 1/7] Add a minimal hive with "special" keys and values
...v/null
+++ b/images/mkzero/mkzero.c
@@ -0,0 +1,59 @@
+/* use the NT native API to create registry key and value that contain
+ a zero character */
+
+#include <ntdef.h>
+#include <stdio.h>
+#include <ddk/wdm.h>
+#include <windef.h>
+
+void create_key_value (PHANDLE handle, WCHAR* key, int key_len, WCHAR* val, int val_len)
+{
+ UNICODE_STRING key_name = { key_len, key_len, key };
+ UNICODE_STRING value_name = { val_len, val_len, val };
+ OBJECT_ATTRIBUTES key_obj;
+ InitializeObjectAttributes (&key_obj, &key_name,
+ OBJ_OPENIF | OBJ_...
2012 Dec 01
1
回复: 2.1.12 - Pigeonhole 0.3.3 build failed: /usr/bin/ld: cannot find -lssl -lcrypto
...le x86_64-linux-gnu-gcc -
>DHAVE_CONFIG_H -I. -I../.. -I../../src/lib-sieve -I/usr/include/dovecot -
>D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -fstack-protector --param=ssp-buffer-
>size=4 -Wformat -Wformat-security -Wall -W -Wmissing-prototypes -Wmissing-
>declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast
>-fno-builtin-strftime -Wstrict-aliasing=2 -MT sieve-tool.lo -MD -MP -MF
>.deps/sieve-tool.Tpo -c -o sieve-tool.lo sieve-tool.c
>libtool: compile: x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -
>I../../src/lib-sieve -I/usr/include/doveco...
2012 Nov 30
1
2.1.12 - Pigeonhole 0.3.3 build failed: /usr/bin/ld: cannot find -lssl -lcrypto
...C --mode=compile x86_64-linux-gnu-gcc -
DHAVE_CONFIG_H -I. -I../.. -I../../src/lib-sieve -I/usr/include/dovecot -
D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -fstack-protector --param=ssp-buffer-
size=4 -Wformat -Wformat-security -Wall -W -Wmissing-prototypes -Wmissing-
declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast
-fno-builtin-strftime -Wstrict-aliasing=2 -MT sieve-tool.lo -MD -MP -MF
.deps/sieve-tool.Tpo -c -o sieve-tool.lo sieve-tool.c
libtool: compile: x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -
I../../src/lib-sieve -I/usr/include/dovecot -D_FORTIFY_SOU...
2020 Aug 17
2
How to run the test suite on macOS?
.../build/./bin/../include/c++/v1/ostream:138:
> In file included from /Users/stephan/Software/llvm/build/./bin/../include/c++/v1/ios:214:
> In file included from /Users/stephan/Software/llvm/build/./bin/../include/c++/v1/iosfwd:95:
> /Users/stephan/Software/llvm/build/./bin/../include/c++/v1/wchar.h:119:15: fatal error: 'wchar.h' file not found
> #include_next <wchar.h>
> ^~~~~~~~~
> 1 error generated.
Am I missing anything like setting up an appropriate environment, or
passing appropriate values for some cmake -D configuration switches?
2018 Mar 04
1
2.2.34 fails to build on OpenBSD
...fails.
This seems to have been introduced by this commit..
https://github.com/dovecot/core/commit/4a9020ed888caf03fd3132a30a7818b01daa4b9d
Fairly -current..
/usr/bin/libtool --tag=CC --mode=link cc -std=gnu99 -O2 -pipe -Wall
-W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast
-Wno-duplicate-decl-specifier -Wstrict-aliasing=2 -L/usr/local/lib
-o libssl_iostream.la iostream-ssl.lo
libtool: link: ar cru .libs/libssl_iostream.a .libs/iostream-ssl.o
libtool: link: ranlib .libs/libssl_iostream.a
cc -DHAVE_CONFIG_H -I. -I../.....
2006 Jun 12
1
./configure and /or Makefile problem
...r/local/lib/dovecot/auth"\"
- - -DPKG_LIBEXECDIR=\""/usr/local/libexec/dovecot"\" -I@includedir@
@INCLUDE_des@ -I/usr/local/include -I/usr/include/kerberosV
- - -std=gnu99 -O2 -march=athlon -pipe -Wall -W -Wmissing-prototypes
- - -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
- - -Wbad-function-cast -MT mycrypt.o -MD -MP -MF ".deps/mycrypt.Tpo"
- - -c -o mycrypt.o mycrypt.c; \
then mv -f ".deps/mycrypt.Tpo" ".deps/mycrypt.Po"; else rm -f
".deps/mycrypt.Tpo"; exit 1; fi
gcc: cannot specify -o with -c or -S an...
2015 Sep 24
0
v2.2.19 release candidate released
...ering directory '/var/tmp/portage/net-mail/dovecot-2.2.19_rc1/work/dovecot-2.2.19.rc1/src/lib'
> /bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../.. -std=gnu99 -O2 -march=native -Wall -W -Wmissing-prototypes -Wmissing-declaratio
> ns -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wno-duplicate-decl-specifier -Wstrict-aliasing=2 -c -o guid.lo guid.c
> libtool: compile: clang -DHAVE_CONFIG_H -I. -I../.. -std=gnu99 -O2 -march=native -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscrip
> ts -Wfo...
2017 May 26
0
Wine release 2.9
...y
43062 Installer from GOG.com displays black rectangles
----------------------------------------------------------------
Changes since 2.8:
Akihiro Sagawa (15):
oleaut32: Fix parse error when converting non-ascii string to VT_DATE.
crypt32: Use isspaceW() instead of isspace() for WCHARs.
midimap: Avoid using isdigit() for WCHARs.
dbghelp: Avoid using isdigit() for WCHARs.
ntdll: Avoid using isdigit() for WCHARs.
secur32: Use isspaceW() instead of isspace() for WCHARs.
shell32: Avoid using isspace() for WCHARs.
shlwapi: Use isalnumW() instead of...
2005 Dec 09
0
rpmbuild error on dovecot 0.99.11
...o rebuild a binary rpm package
I issued command rpmbuild -ba dovecot.spec
after a few mins of works, rpmbuild process stopped with errors
..............
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -O2 -g -pipe -march=i386 -mcpu=i686
-Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -I/usr/kerberos/include
-c unlink-lockfiles.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -O2 -g -pipe -march=i386 -mcpu=i686
-Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -I/usr/kerberos/i...
2014 Jan 14
2
Re: [PATCH 1/7] Add a minimal hive with "special" keys and values
...o create registry key and value that contain
> > + a zero character */
> > +
> > +#include <ntdef.h>
> > +#include <stdio.h>
> > +#include <ddk/wdm.h>
> > +#include <windef.h>
> > +
> > +void create_key_value (PHANDLE handle, WCHAR* key, int key_len, WCHAR*
> val, int val_len)
> > +{
> > + UNICODE_STRING key_name = { key_len, key_len, key };
> > + UNICODE_STRING value_name = { val_len, val_len, val };
> > + OBJECT_ATTRIBUTES key_obj;
> > + InitializeObjectAttributes (&key_obj, &key...
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...
2010 Apr 03
2
dovecot-2.0.beta4: compiler gets stuck making master-service-settings.o Mac OS X 10.6.2
...c/lib -I../../src/lib-settings -DPKG_RUNDIR=\""/usr/local/var/run/dovecot"\" -DSYSCONFDIR=\""/usr/local/conf/dovecot"\" -DBINDIR=\""/usr/local/bin"\" -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT master-service-settings.lo -MD -MP -MF .deps/master-service-settings.Tpo -c -o master-service-settings.lo master-service-settings.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-settings -DPKG_RU...
2017 Jun 06
4
2.2.30.2 fails to compile on centos 7
Just downloaded the latest release 2.2.30.2, ran ./configure with all
defaults and make ...
and it fails to build .. error somewhere whilst running Makefile in lib-http
libtool: link: gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2
-Wl,--as-needed -o test-http-server-errors test-http-server-errors.o
-Wl,--export-dynamic ./.libs/libhttp.a ../lib-dns/.libs/libdns.a
../lib-ssl-iostream/.libs/libssl_iostream.a
../lib-master/.libs/libmaster.a ../l...
2010 Feb 22
2
Compiling R on Linux with SunStudio 12.1: "wide-character type" problems
...XXLDFLAGS="-G -lCstd"
FC=/opt/sun/sunstudio12.1/bin/sunf95
FCFLAGS=$FFLAGS
FCPICFLAGS=-Kpic
MAKE=dmake
R install guide also indicates that: "The OS needs to have enough support
for wide-character types: this is checked at configuration. Specifically,
the C99 functionality of headers wchar.h and wctype.h, types wctans_t and
mbstate_t and functions mbrtowc, mbstowcs, wcrtomb, wcscoll, wcstombs,
wctrans, wctype, and iswctype."
Configure stops with the following error message:
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking f...