{
/* Create a bidi string */
base = FRIBIDI_PAR_ON;
+FRIBIDI_GNUC_BEGIN_IGNORE_DEPRECATIONS
if (!fribidi_log2vis (us, len, &base,
/* output */
out_us, positionVtoL, positionLtoV,
die2
("something failed in fribidi_log2vis.\n"
"perhaps memory allocation failure.", NULL);
+FRIBIDI_GNUC_END_IGNORE_DEPRECATIONS
}
/* stop timer */
#endif /* !FRIBIDI_MAIN_USE_ICONV_H */
die2 ("unrecognized character set `%s'\n", char_set);
+FRIBIDI_GNUC_BEGIN_IGNORE_DEPRECATIONS
fribidi_set_mirroring (do_mirror);
fribidi_set_reorder_nsm (do_reorder_nsm);
+FRIBIDI_GNUC_END_IGNORE_DEPRECATIONS
exit_val = 0;
file_found = false;
while (optind < argc || !file_found)
/* Create a bidi string. */
base = input_base_direction;
+FRIBIDI_GNUC_BEGIN_IGNORE_DEPRECATIONS
log2vis = fribidi_log2vis (logical, len, &base,
/* output */
visual, ltov, vtol, levels);
+FRIBIDI_GNUC_END_IGNORE_DEPRECATIONS
if (log2vis)
{
/* Remove explicit marks, if asked for. */
if (do_clean)
+FRIBIDI_GNUC_BEGIN_IGNORE_DEPRECATIONS
len =
fribidi_remove_bidi_marks (visual, len, ltov, vtol,
levels);
+FRIBIDI_GNUC_END_IGNORE_DEPRECATIONS
if (show_visual)
{
# define FRIBIDI_END_DECLS G_END_DECLS
# define FRIBIDI_GNUC_CONST G_GNUC_CONST
# define FRIBIDI_GNUC_DEPRECATED G_GNUC_DEPRECATED
+# define FRIBIDI_GNUC_BEGIN_IGNORE_DEPRECATIONS G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+# define FRIBIDI_GNUC_END_IGNORE_DEPRECATIONS G_GNUC_END_IGNORE_DEPRECATIONS
# if __GNUC__ > 2
# define FRIBIDI_GNUC_WARN_UNUSED \
__attribute__((__warn_unused_result__))
#else /* !FRIBIDI_USE_GLIB */
# define FRIBIDI_GNUC_CONST
# define FRIBIDI_GNUC_DEPRECATED
+# define FRIBIDI_GNUC_BEGIN_IGNORE_DEPRECATIONS
+# define FRIBIDI_GNUC_END_IGNORE_DEPRECATIONS
# define FRIBIDI_GNUC_WARN_UNUSED
# define FRIBIDI_GNUC_MALLOC
# define FRIBIDI_GNUC_HIDDEN