From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Re: emacs-module is not GPL compatible (Windows) Date: Sat, 01 Oct 2016 03:21:40 +0200 Message-ID: <87bmz4hniz.fsf@wanadoo.es> References: <1261593588.2422705.1475266631400.ref@mail.yahoo.com> <1261593588.2422705.1475266631400@mail.yahoo.com> <87fuoghnu4.fsf@wanadoo.es> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1475284942 6416 195.159.176.226 (1 Oct 2016 01:22:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 1 Oct 2016 01:22:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: "help-gnu-emacs@gnu.org" To: Mambo Levis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 01 03:22:18 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bq90J-0000gT-F6 for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Oct 2016 03:22:15 +0200 Original-Received: from localhost ([::1]:47871 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq90H-0006bQ-J3 for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Sep 2016 21:22:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq8zr-0006Yi-N4 for help-gnu-emacs@gnu.org; Fri, 30 Sep 2016 21:21:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bq8zm-0007o4-LK for help-gnu-emacs@gnu.org; Fri, 30 Sep 2016 21:21:46 -0400 Original-Received: from relaycp03.dominioabsoluto.net ([217.116.26.84]:57454) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq8zm-0007md-EA for help-gnu-emacs@gnu.org; Fri, 30 Sep 2016 21:21:42 -0400 Original-Received: from smtp.movistar.es (smtp22.acens.net [86.109.99.146]) by relaycp03.dominioabsoluto.net (Postfix) with ESMTP id 10A9CBFA294; Sat, 1 Oct 2016 03:21:41 +0200 (CEST) X-CTCH-RefID: str=0001.0A0B0203.57EF0FA5.0009, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Original-Received: from qcore (217.125.182.189) by smtp.movistar.es (8.6.122.03) (authenticated as 981711563$telefonica.net) id 57A446BD02BE6A70; Sat, 1 Oct 2016 01:21:38 +0000 In-Reply-To: <87fuoghnu4.fsf@wanadoo.es> (=?utf-8?Q?=22=C3=93scar?= Fuentes"'s message of "Sat, 01 Oct 2016 03:14:59 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 217.116.26.84 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111423 Archived-At: =C3=93scar Fuentes writes: > Try changing > > int plugin_is_GPL_compatible; > > to > > __declspec(dllimport) int plugin_is_GPL_compatible; > > Probably you will also need to change > > int > emacs_module_init(struct emacs_runtime *ert) > > to > > int __declspec(dllimport) > emacs_module_init(struct emacs_runtime *ert) Sorry. I'm half-asleep. Please change the dllimport above with dllexport.