Is this intended?

17 views
Skip to first unread message

Tony Mechelynck

unread,
Jun 1, 2020, 1:05:29 PM6/1/20
to Bram Moolenaar, Yegappan Lakhsmanan, vim_dev
My "Tiny" build, configured with -gui -xim, nevertheless compiles and
links objects/gui_xim.o — is this intended? (It neither compiles nor
links any other gui_* module.)

Best regards,
Tony.

Bram Moolenaar

unread,
Jun 1, 2020, 2:11:41 PM6/1/20
to vim...@googlegroups.com, Tony Mechelynck, Yegappan Lakhsmanan

Tony wrote;

> My "Tiny" build, configured with -gui -xim, nevertheless compiles and
> links objects/gui_xim.o — is this intended? (It neither compiles nor
> links any other gui_* module.)

It should be fine. The #ifdef's in the file most likely are all
evaluating to false, thus the resulting code is empty. The C
preprocessor is fast, it should hardly affect compilation time.

--
hundred-and-one symptoms of being an internet addict:
247. You use www.switchboard.com instead of dialing 411 and 555-12-12
for directory assistance.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

Yegappan Lakshmanan

unread,
Jun 2, 2020, 2:37:55 PM6/2/20
to Tony Mechelynck, Bram Moolenaar, vim_dev
Hi Tony,

On Mon, Jun 1, 2020 at 10:05 AM Tony Mechelynck <antoine.m...@gmail.com> wrote:
My "Tiny" build, configured with -gui -xim, nevertheless compiles and
links objects/gui_xim.o — is this intended? (It neither compiles nor
links any other gui_* module.)


There is some non-GUI XIM code (IME_WITHOUT_XIM) in the gui_xim.c file that
is needed for the Tiny build.

Regards,
Yegappan 
Reply all
Reply to author
Forward
0 new messages