Displaying 20 results from an estimated 27424 matches for "extern".
2017 Jun 05
3
Lots of RPC-related compile errors (conflicting types, too many arguments, ...) trying to update Samba from 3.5 to 4.6
...from ../lib/tevent/../replace/replace.h:32,
from ../source3/include/includes.h:23,
from ../source3/rpc_server/rpc_service_setup.c:22:
default/include/config.h:962:41: error: conflicting types for
'rpc_lsarpc_init'
#define static_decl_rpc extern NTSTATUS rpc_lsarpc_init(void); extern
NTSTATUS rpc_winreg_init(void); extern NTSTATUS
rpc_initshutdown_init(void); extern NTSTATUS rpc_dssetup_init(void);
extern NTSTATUS rpc_wkssvc_init(void); extern NTSTATUS
rpc_svcctl_init(void); extern NTSTATUS rpc_ntsvcs_init(void); extern
NTSTATUS rpc_n...
2017 Jun 08
0
2nd try: Lots of RPC-related compile errors (conflicting types, too many arguments, ...) trying to update Samba from 3.5 to 4.6
...t the Samba
4.6.4 codebase seems to have for all RPC modules:
NTSTATUS rpc_*_init(_*const struct rpc_srv_callbacks *rpc_srv_cb*_);
while in expansion of macro 'static_decl_rpc', from file
bin/default/iclude/config.h which seems to be autogenerated during the
configure process, we have
extern NTSTATUS rpc_*_init(_*void*_);
(why is this so?), which of course then causes this inconsistency and
error messages trying to compile the affected RPC modules.
*But this error seems so basic and big that I am wondering how anybody
at all should/would be able to compile Samba 4.6.x at all with a...
2020 Aug 18
0
[PATCH nbdkit 8/9] include: Prefix all exports with NBDKIT_DLLEXPORT.
...-------
include/nbdkit-plugin.h | 6 +--
server/main.c | 2 +
4 files changed, 83 insertions(+), 53 deletions(-)
diff --git a/include/nbdkit-common.h b/include/nbdkit-common.h
index d38b37d2..8684b95a 100644
--- a/include/nbdkit-common.h
+++ b/include/nbdkit-common.h
@@ -55,6 +55,8 @@ extern "C" {
#define ATTRIBUTE_FORMAT_PRINTF(fmtpos, argpos)
#endif
+#define NBDKIT_DLLEXPORT
+
#define NBDKIT_THREAD_MODEL_SERIALIZE_CONNECTIONS 0
#define NBDKIT_THREAD_MODEL_SERIALIZE_ALL_REQUESTS 1
#define NBDKIT_THREAD_MODEL_SERIALIZE_REQUESTS 2
@@ -76,49 +78,63 @@ exter...
2010 Dec 12
2
[LLVMdev] Optimized "opt" on Darwin fails to load dynamic libraries with passes
...the
symbols of the assignPassManager virtual method from the various subclasses
of llvm::Pass.
Please advise!
// the release version has all the necessary symbols in place before it is
installed to /usr/local/bin
$ nm -m Release+Asserts/bin/opt | grep assignPass
000000010042b7c0 (__TEXT,__text) external
__ZN4llvm10ModulePass17assignPassManagerERNS_7PMStackENS_15PassManagerTypeE
00000001002a27c0 (__TEXT,__text) external
__ZN4llvm10RegionPass17assignPassManagerERNS_7PMStackENS_15PassManagerTypeE
000000010042b490 (__TEXT,__text) external
__ZN4llvm12FunctionPass17assignPassManagerERNS_7PMStackENS_15...
2019 Jan 02
0
[PATCH nbdkit v2 1/2] Annotate internal function parameters with attribute((nonnull)).
...__attribute__((__nonnull__ (1)))
bitmap_init (struct bitmap *bm, unsigned blksize, unsigned bpb)
{
assert (is_power_of_2 (blksize));
@@ -99,10 +99,11 @@ bitmap_free (struct bitmap *bm)
/* Resize the bitmap to the virtual disk size in bytes.
* Returns -1 on error, setting nbdkit_error.
*/
-extern int bitmap_resize (struct bitmap *bm, uint64_t new_size);
+extern int bitmap_resize (struct bitmap *bm, uint64_t new_size)
+ __attribute__((__nonnull__ (1)));
/* Clear the bitmap (set everything to zero). */
-static inline void
+static inline void __attribute__((__nonnull__ (1)))
bitmap_clear...
2007 Sep 22
0
rsync build on IA64 using icc
...ke
/opt/intel/compilo_9/l_cc_c_9.1.042/bin/icc -c99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -c rsync.c -o rsync.o
icc: Command line remark: option '-W' not supported
proto.h(224): remark #310: old-style parameter list (anachronism)
void setup_iconv();
^
rsync.c(33): remark #1419: external declaration in primary source file
extern int verbose;
^
rsync.c(34): remark #1419: external declaration in primary source file
extern int dry_run;
^
rsync.c(35): remark #1419: external declaration in primary source file
extern int preserve_perms;
^...
2019 Jan 02
4
[PATCH nbdkit v2 0/2] Use of attribute(()).
v1 was here:
https://www.redhat.com/archives/libguestfs/2019-January/msg00008.html
In v2 I have provided two patches:
The first patch extends attribute((nonnull)) to most internal
functions, but not to the external API.
The second patch uses a macro so that attribute((format)) is only used
in the public API on GCC or Clang. At least in theory these headers
could be used by a C compiler which only supports the C99 standard.
Note that I don't propose to use attribute((nonnull)) in the public
API until...
2010 Dec 12
0
[LLVMdev] Optimized "opt" on Darwin fails to load dynamic libraries with passes
...ual method from the various
> subclasses of llvm::Pass.
>
> Please advise!
>
>
> // the release version has all the necessary symbols in place before it is
> installed to /usr/local/bin
> $ nm -m Release+Asserts/bin/opt | grep assignPass
> 000000010042b7c0 (__TEXT,__text) external
> __ZN4llvm10ModulePass17assignPassManagerERNS_7PMStackENS_15PassManagerTypeE
> 00000001002a27c0 (__TEXT,__text) external
> __ZN4llvm10RegionPass17assignPassManagerERNS_7PMStackENS_15PassManagerTypeE
> 000000010042b490 (__TEXT,__text) external
> __ZN4llvm12FunctionPass17assignPassM...
2000 Nov 12
2
This is not going well... but better than before!
Ok...
This is begining to go a bit better.... I have compiled 4 lib's and placed
them in my lib path.
ogg.lib
vorbis.lib
vorbisenc.lib
vorbisfile.lib
When I try and compile oggenc.c I still have link errors..
unresolved external symbol _vorbis_comment_clear
unresolved external symbol _optind
unresolved external symbol _optarg
unresolved external symbol _vorbis_comment_add_tag
unresolved external symbol _vorbis_comment_add
unresolved external symbol _vorbis_comment_init
unresolved external symbol _vorbis_info_clear
unreso...
2005 Nov 28
1
Compile Encoder_example.c
...) and i found encoder_example.c
inside libvorbis's example directory. I try to compile
it using Microsoft Visual C++ 6.0 ,but it goes error
like this :
--------------------Configuration: encoder_example -
Win32 Debug--------------------
Linking...
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_info_clear
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_comment_clear
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_dsp_clear
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_block_clear
encoder_example.obj...
2009 Sep 07
1
Usage of OCaml/R binding.
...module (there's also a Rmath module for the math library
which I'm not yet concerned about).
I'd specifically appreciate information on how to get started using
these R API functions. If you're scared about OCaml, simply look at the
two declarations below in the following way:
external init_r : string array -> int = "init_r"
'external' means that this value is to be fetched by linking C code
identified by the '= "init_r"' ending statement. Typically, 'external'
values wrap the API functions. So this value is called init_r, and t...
2009 Sep 07
1
Usage of OCaml/R binding.
...module (there's also a Rmath module for the math library
which I'm not yet concerned about).
I'd specifically appreciate information on how to get started using
these R API functions. If you're scared about OCaml, simply look at the
two declarations below in the following way:
external init_r : string array -> int = "init_r"
'external' means that this value is to be fetched by linking C code
identified by the '= "init_r"' ending statement. Typically, 'external'
values wrap the API functions. So this value is called init_r, and t...
2012 Jan 18
4
[PATCH 1/4] ocaml: Add -Wno-missing-field-initializers to avoid a warning.
From: "Richard W.M. Jones" <rjones at redhat.com>
---
configure.ac | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index fa97479..6e42423 100644
--- a/configure.ac
+++ b/configure.ac
@@ -141,6 +141,10 @@ if test "$gl_gcc_warnings" = yes; then
# Work around warning in src/inspect.c. This seems to be a bug in gcc
2017 Oct 11
0
[PATCH v1 15/27] compiler: Option to default to hidden symbols
Provide an option to default visibility to hidden except for key
symbols. This option is disabled by default and will be used by x86_64
PIE support to remove errors between compilation units.
The default visibility is also enabled for external symbols that are
compared as they maybe equals (start/end of sections). In this case,
older versions of GCC will remove the comparison if the symbols are
hidden. This issue exists at least on gcc 4.9 and before.
Signed-off-by: Thomas Garnier <thgarnie at google.com>
---
arch/x86/boot/boot...
2011 Jul 24
2
[LLVMdev] [llvm-testresults] bwilson__llvm-gcc_PROD__i386 nightly tester results
...0.0186
> MultiSource/Applications/hbd/hbd.compile 6.34% 1.7050 1.8131 0.0110
> MultiSource/Benchmarks/Prolangs-C/TimberWolfMC/timberwolfmc.compile 6.34%
> 8.0582 8.5687 0.0539
> MultiSource/Benchmarks/MiBench/automotive-susan/automotive-susan.compile 6.33%
> 1.0136 1.0778 0.0021
> External/SPEC/CINT95/134_perl/134_perl.compile 6.31% 6.3453 6.7457 0.0206
> External/SPEC/CFP2006/433_milc/433_milc.compile 6.29% 3.6706 3.9015 0.0293
> External/SPEC/CINT2006/462_libquantum/462_libquantum.compile 6.26% 0.9149
> 0.9722 0.0070
> MultiSource/Applications/spiff/spiff.compile 6.25...
2015 Oct 22
8
RFC: Inlining report
...plied.
class InlineReport
The main class which summarizes the high level information in the inline report, including:
(1) The values of the inlining threshold options
(2) The "level" of the inlining report, which is a bit vector of feature options. For example, whether to print external functions and intrinsics, whether to print the inlining reasons, etc.
(3) A map MF from each Function* to InlineReportFunction*
(4) A map MCS from each CallSite* to InlineReportCallSite*
In addition, the class InlineCost (from InlineCost.h) is augmented to include the primary reason a ca...
2011 Apr 30
2
[LLVMdev] Greedy register allocation
...utput/simulator
-5.3% MultiSource/Applications/hexxagon/Output/hexxagon
-5.2% MultiSource/Applications/SIBsim4/Output/SIBsim4
-4.8% MultiSource/Benchmarks/MallocBench/cfrac/Output/cfrac
-4.1% MultiSource/Applications/d/Output/make_dparser
-4.0% MultiSource/Applications/JM/ldecod/Output/ldecod
-3.9% External/Nurbs/Output/nurbs
-3.7% MultiSource/Benchmarks/Ptrdist/bc/Output/bc
-3.4% MultiSource/Applications/lemon/Output/lemon
-3.4% SingleSource/Benchmarks/Misc-C++/Output/bigfib
-3.4% External/SPEC/CFP2000/183.equake/Output/183.equake
-3.2% MultiSource/Applications/hbd/Output/hbd
-3.1% MultiSource/Appl...
2016 May 16
2
[PATCH v5 02/12] mm: migrate: support non-lru movable page migration
On (05/09/16 11:20), Minchan Kim wrote:
[..]
> +++ b/include/linux/migrate.h
> @@ -32,11 +32,16 @@ extern char *migrate_reason_names[MR_TYPES];
>
> #ifdef CONFIG_MIGRATION
>
> +extern int PageMovable(struct page *page);
> +extern void __SetPageMovable(struct page *page, struct address_space *mapping);
> +extern void __ClearPageMovable(struct page *page);
> extern void putback...
2016 May 16
2
[PATCH v5 02/12] mm: migrate: support non-lru movable page migration
On (05/09/16 11:20), Minchan Kim wrote:
[..]
> +++ b/include/linux/migrate.h
> @@ -32,11 +32,16 @@ extern char *migrate_reason_names[MR_TYPES];
>
> #ifdef CONFIG_MIGRATION
>
> +extern int PageMovable(struct page *page);
> +extern void __SetPageMovable(struct page *page, struct address_space *mapping);
> +extern void __ClearPageMovable(struct page *page);
> extern void putback...
2010 Feb 18
6
[LLVMdev] ocaml survey
...?
2. Would it be alright if I renamed some functions? Module providers
are being removed for 2.7. I can keep the old functions around, but
I'd prefer to keep the API clean.
3. Are there any llvm functionality that you need exposed to ocaml?
Right now I plan to expose:
add Union to TypeKind.t
external union_type: llcontext -> lltype array -> lltype
external union_element_types : lltype -> lltype array
external build_indirect_br : llvalue -> int -> llbuilder -> llvalue
external add_destination: llvalue -> llbasicblock -> unit
external build_nsw_add : llvalue -> llv...