blob: e011c4a49aa7d162a35b38f07c1d1359059d0269 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
CFLAGS(
-DDLSUFFIX=\".so\"
-Wno-ignored-attributes
-Wno-unused-parameter
-Wno-sign-compare
-Wno-missing-field-initializers
-Wno-incompatible-pointer-types-discards-qualifiers
-Wno-implicit-function-declaration
-Wno-duplicate-decl-specifier
-Wno-unused-function
-Wno-unused-variable
-Wno-unused-but-set-variable
-Wno-unused-private-field
-Wno-register
-Wno-unguarded-availability-new
-Wno-int-conversion
-Wno-deprecated-declarations
-Wno-null-pointer-subtraction
)
IF (OS_WINDOWS)
CFLAGS(
"-D__thread=__declspec(thread)"
-Dfstat=microsoft_native_fstat
-Dstat=microsoft_native_stat
-Wno-macro-redefined
-Wno-shift-count-overflow
-Wno-incompatible-pointer-types
-Wno-integer-overflow
-Wno-int-conversion
-Wno-constant-conversion
-Wno-tautological-constant-out-of-range-compare
-Wno-pointer-sign
-Wno-fortify-source
)
ENDIF()
CFLAGS(
-Dmonths=yql_months
-Dpg_popcount32=yql_pg_popcount32
-Dpg_popcount64=yql_pg_popcount64
-Dpg_number_of_ones=yql_pg_number_of_ones
-Dpg_leftmost_one_pos=yql_pg_leftmost_one_pos
-Dpg_rightmost_one_pos=yql_pg_rightmost_one_pos
-Darray_length=yql_array_length
-Dpg_encoding_max_length=yql_pg_encoding_max_length
-Dpg_encoding_mblen=yql_pg_encoding_mblen
-Dpg_mule_mblen=yql_pg_mule_mblen
-Dpg_utf8_islegal=yql_pg_utf8_islegal
-Dpg_utf_mblen=yql_pg_utf_mblen
-Dpg_wchar_table=yql_pg_wchar_table
-Dunicode_to_utf8=yql_unicode_to_utf8
-Dutf8_to_unicode=yql_utf8_to_unicode
-Dpg_enc2name_tbl=yql_pg_enc2name_tbl
-Dstrtoint=yql_strtoint
-Dpalloc=yql_palloc
-Dpalloc0=yql_palloc0
-Dpfree=yql_pfree
-Dpstrdup=yql_pstrdup
-Drepalloc=yql_repalloc
-Dpalloc_extended=yql_palloc_extended
-Dpg_clean_ascii=yql_pg_clean_ascii
-Dpg_str_endswith=yql_pg_str_endswith
-Dpg_strip_crlf=yql_pg_strip_crlf
-Dpg_encoding_dsplen=yql_pg_encoding_dsplen
-Dpg_encoding_mblen_bounded=yql_pg_encoding_mblen_bounded
-Dpg_encoding_verifymb=yql_pg_encoding_verifymb
-Dpg_encoding_verifymbchar=yql_pg_encoding_verifymbchar
-Dpg_encoding_verifymbstr=yql_pg_encoding_verifymbstr
-Dunicode_normalize=yql_unicode_normalize
-Ddurable_rename=yql_durable_rename
-Dfsync_fname=yql_fsync_fname
-Dget_encoding_name_for_icu=yql_get_encoding_name_for_icu
-Dis_encoding_supported_by_icu=yql_is_encoding_supported_by_icu
-Dpg_char_to_encoding=yql_pg_char_to_encoding
-Dpg_enc2gettext_tbl=yql_pg_enc2gettext_tbl
-Dpg_encoding_to_char=yql_pg_encoding_to_char
-Dpg_valid_client_encoding=yql_pg_valid_client_encoding
-Dpg_valid_server_encoding=yql_pg_valid_server_encoding
-Dpg_valid_server_encoding_id=yql_pg_valid_server_encoding_id
-Dpnstrdup=yql_pnstrdup
-Dget_ps_display=yql_get_ps_display
-Dinit_ps_display=yql_init_ps_display
-Dsave_ps_display_args=yql_save_ps_display_args
-Dset_ps_display=yql_set_ps_display
-Dupdate_process_title=yql_update_process_title
-Dlo_read=yql_lo_read
-Dlo_write=yql_lo_write
-Drtrim=yql_rtrim
-Dstr_tolower=yql_str_tolower
-Dstr_toupper=yql_str_toupper
-Dpg_file_create_mode=yql_pg_file_create_mode
-Dpg_dir_create_mode=yql_pg_dir_create_mode
-Descape_json=yql_escape_json
-DSetDataDirectoryCreatePerm=yql_SetDataDirectoryCreatePerm
-Dpg_mode_mask=yql_pg_mode_mask
-Dpg_strong_random=yql_pg_strong_random
-Dpg_strong_random_init=yql_pg_strong_random_init
-DScanKeywordBareLabel=yql_ScanKeywordBareLabel
-DScanKeywordCategories=yql_ScanKeywordCategories
-DScanKeywords=yql_ScanKeywords
-Dscram_ClientKey=yql_scram_ClientKey
-Dscram_H=yql_scram_H
-Dscram_SaltedPassword=yql_scram_SaltedPassword
-Dscram_ServerKey=yql_scram_ServerKey
-Dscram_build_secret=yql_scram_build_secret
-Dpg_is_ascii=yql_pg_is_ascii
-DmakeJsonLexContextCstringLen=yql_makeJsonLexContextCstringLen
-DIsValidJsonNumber=yql_IsValidJsonNumber
-Djson_lex=yql_json_lex
-Dpg_parse_json=yql_pg_parse_json
-Djson_count_array_elements=yql_json_count_array_elements
-DnullSemAction=yql_nullSemAction
-Dpg_cryptohash_free=yql_pg_cryptohash_free
-Dpg_cryptohash_final=yql_pg_cryptohash_final
-Dpg_cryptohash_update=yql_pg_cryptohash_update
-Dpg_cryptohash_init=yql_pg_cryptohash_init
-Dpg_cryptohash_create=yql_pg_cryptohash_create
-Dpg_hmac_free=yql_pg_hmac_free
-Dpg_hmac_final=yql_pg_hmac_final
-Dpg_hmac_update=yql_pg_hmac_update
-Dpg_hmac_init=yql_pg_hmac_init
-Dpg_hmac_create=yql_pg_hmac_create
-Dpg_pwritev_with_retry=yql_pg_pwritev_with_retry
-Dpg_cryptohash_error=yql_pg_cryptohash_error
-Dpg_hmac_error=yql_pg_hmac_error
-Dpg_global_prng_state=yql_pg_global_prng_state
-Dpg_prng_bool=yql_pg_prng_bool
-Dpg_prng_double=yql_pg_prng_double
-Dpg_prng_int32p=yql_pg_prng_int32p
-Dpg_prng_int32=yql_pg_prng_int32
-Dpg_prng_uint32=yql_pg_prng_uint32
-Dpg_prng_int64p=yql_pg_prng_int64p
-Dpg_prng_int64=yql_pg_prng_int64
-Dpg_prng_uint64_range=yql_pg_prng_uint64_range
-Dpg_prng_uint64=yql_pg_prng_uint64
-Dpg_prng_fseed=yql_pg_prng_fseed
-Dpg_prng_seed_check=yql_pg_prng_seed_check
-Dpg_prng_seed=yql_pg_prng_seed
-Dpg_prng_double_normal=yql_pg_prng_double_normal
-Djson_errdetail=yql_json_errdetail
)
|