From: Sergey Afonin <asy@altlinux.org> To: devel@lists.altlinux.org Subject: [devel] jasper 2.x: Препроцессор С и сравнение версии библиотеки Date: Wed, 4 Jul 2018 17:04:11 +0400 Message-ID: <201807041704.11278.asy@altlinux.org> (raw) Приветствую. После обновления libjasper перестал собираться ZyGrib, ошибка и как поправить описаны тут: http://www.zygrib.org/forum/viewtopic.php?f=3&t=1066 Фрагмент кода: ==== #ifdef JAS_1_700_2 image.clrspc_=JAS_CLRSPC_SGRAY; /* grayscale Image */ image.cmprof_=0;. #endif image.inmem_=1; === Речь про комментирование "image.inmem_=1". Я так понимаю, image.inmem_ в 2.x пропал совсем, но хочется оставить собираемость в бранчах. В jas_config.h есть #define JAS_VERSION "2.0.14". Существует ли приём для реализации чего-то вроде нижеследующего? #ifdef JAS_VERSION < 2 image.inmem_=1; #endif -- С уважением, Сергей Афонин.
next reply other threads:[~2018-07-04 13:04 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-07-04 13:04 Sergey Afonin [this message] 2018-07-04 13:15 ` Sergey Afonin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=201807041704.11278.asy@altlinux.org \ --to=asy@altlinux.org \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git