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 2087 times)

0 Members and 1 Guest are viewing this topic.

Michal D.

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 4
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
Michal D.

Jens Voss

  • Team
  • *
  • Offline Offline
  • Posts: 121
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 D.

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 4
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
Michal D.

Jens Voss

  • Team
  • *
  • Offline Offline
  • Posts: 121
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