-
Notifications
You must be signed in to change notification settings - Fork 30
Updates for macos sequoia to run retroshare-service #170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am really happy to see contributions in this directions. IMHO some parts like the changes to JSON API generator needs to be tested on as much platforms as possible (oldest non-EOL ubuntu LTS available, debian stable, gentoo, some other linux, and some older macOS too). Looks good overall, also look at my inline comments. An organic description of the PR would help too :)
|
||
list( | ||
APPEND RS_IMPLEMENTATION_HEADERS | ||
pgp/openpgpsdkhandler.h | ||
pgp/pgpauxutils.h | ||
pgp/pgphandler.h | ||
pgp/pgpkeyutil.h | ||
pgp/rscertificate.h ) | ||
pgp/rscertificate.h | ||
pgp/rnppgphandler.h ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -329,6 +331,7 @@ list( | |||
pqi/pqisslpersongrp.h | |||
pqi/pqisslproxy.h | |||
pqi/pqissludp.h | |||
pqi/pqissl.h |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bit surprising, I would expect including pqissl.h
to be needed to compile in the first place, but for some reason it was able to build anyway before
@@ -1656,7 +1656,7 @@ void RsGxsNetService::locked_checkDelay(uint32_t& time_in_secs) | |||
#include <algorithm> | |||
|
|||
template <typename UpdateMap,class ItemClass> | |||
struct get_second : public std::unary_function<typename UpdateMap::value_type, RsItem*> | |||
struct get_second |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to fix compatibility with newer compilers, am I wrong?
except KeyError: | ||
print(f"Warning: Parameter '{tmpPN.text}' found in Doxygen description for {refid}, but not in function signature parameters {list(paramsMap.keys())}. Skipping direction assignment.") | ||
continue # Skip to the next parametername tag | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAIR we should fail in this case, in addition to print the error, so compilation fail and developers notice ASAP they screw-up something, am I wrong?
# Handle more complex cases or leave as is if unsure | ||
# For now, just log a warning if we encounter an unexpected reference type | ||
print(f"Warning: Encountered potentially complex reference type '{mp._type}' for parameter '{mp._name}'. Declaration might be incorrect.") | ||
declaration_type = declaration_type.replace('&', '').strip() # Fallback: simple removal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAIR if something unexpected/unhanded is encountered compilation must fail, so developers notice ASAP they screw-up something.
@@ -255,8 +257,7 @@ Binary Predicate for Case Insensitive search | |||
/*TODOS: | |||
*Factor locales in the comparison | |||
*/ | |||
struct CompareCharIC : | |||
public std::binary_function< char , char , bool> { | |||
struct CompareCharIC { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing deprecated stuff looks OK here too.
@@ -62,18 +62,18 @@ rs_rnplib { | |||
# Windows msys2 | |||
LIBRNP_LIBS *= -lbotan-3 | |||
} else { | |||
LIBRNP_LIBS *= -lbotan-2 | |||
# This is the case for macOS and other Unix-like systems | |||
LIBRNP_LIBS *= -lbotan-3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this works on older non-EOL macOS ? AFAIR we have some qmake functions to check for specific macOS versions if botan-2 is still needed for some of them
No description provided.