File tree 5 files changed +11
-9
lines changed
5 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 1
1
(env
2
- (dev (flags (:standard -w -9 -principal)))
2
+ (dev
3
+ (flags (:standard -w -9 -principal))
4
+ (c_flags (:standard -Wall -pedantic -Wextra -Wunused)))
3
5
(release (ocamlopt_flags (:standard -O3)))
4
6
)
Original file line number Diff line number Diff line change 1
- (lang dune 1 .1 )
1
+ (lang dune 1 .7 )
2
2
(name postgresql)
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ build: [
18
18
19
19
depends: [
20
20
"ocaml" {>= "4.05"}
21
- "dune" {build & >= "1.4 .0"}
21
+ "dune" {build & >= "1.7 .0"}
22
22
"base" {build}
23
23
"stdio" {build}
24
24
"base-bytes"
Original file line number Diff line number Diff line change 1
1
(library
2
2
(public_name postgresql)
3
3
(c_names postgresql_stubs)
4
- (c_flags (
5
- (:include c_flags.sexp) -g -O2 -fPIC -DPIC
6
- ; NOTE: for debugging before releases
7
- ; -Wall -pedantic -Wextra -Wunused -Wno-long-long -Wno-keyword-macro
8
- ))
4
+ (c_flags
5
+ (:standard) (:include c_flags.sexp) -O2 -fPIC -DPIC
6
+ -Wno-keyword-macro
7
+ )
9
8
(c_library_flags (:include c_library_flags.sexp))
10
9
(libraries threads bigarray)
11
10
)
Original file line number Diff line number Diff line change @@ -528,7 +528,8 @@ static struct custom_operations result_ops = {
528
528
custom_hash_default ,
529
529
custom_serialize_default ,
530
530
custom_deserialize_default ,
531
- custom_compare_ext_default
531
+ custom_compare_ext_default ,
532
+ custom_fixed_length_default
532
533
};
533
534
534
535
static inline value alloc_result (PGresult * res , np_callback * cb )
You can’t perform that action at this time.
0 commit comments