Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: CMake fix proposal. Modules folder  (Read 6229 times)

0 Members and 1 Guest are viewing this topic.

Michal Dziczkowski

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 5
CMake fix proposal. Modules folder
« on: June 19, 2015, 03:25:10 PM »

I would like to propose a modification of CMake with allows to compile the .cpp and .c modules and not only .cpp only like it was before.

I would like to hear your opinion about it
Logged

Jens Voss

  • Team
  • *
  • Offline Offline
  • Posts: 125
Re: CMake fix proposal. Modules folder
« Reply #1 on: June 19, 2015, 03:48:21 PM »

I dont like this idea.
.c files are for anope 1.8.x modules (written in plain c), and .cpp files are for anope 2.0.x (written in c++) 

If we change this people will try to install 1.8 modules and get millions of compile errors.
Logged

Michal Dziczkowski

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 5
Re: CMake fix proposal. Modules folder
« Reply #2 on: June 19, 2015, 04:01:28 PM »

Quote
If we change this people will try to install 1.8 modules and get millions of compile errors.

May I hear in this case your solution of including of custom made modules written by users with haven't been implemented into the main branch of anope since 1.8 and they are still as .c ?
Logged

Jens Voss

  • Team
  • *
  • Offline Offline
  • Posts: 125
Re: CMake fix proposal. Modules folder
« Reply #3 on: June 19, 2015, 04:06:46 PM »

There is no solution.
If there is no 2.0.x version of a module then it can't be used with anope 2.0.x
Logged
Pages: [1]   Go Up