Skip to content

Fixed warnings#2369

Merged
mitza-oci merged 2 commits into
DOCGroup:masterfrom
mitza-oci:warnings
Apr 23, 2025
Merged

Fixed warnings#2369
mitza-oci merged 2 commits into
DOCGroup:masterfrom
mitza-oci:warnings

Conversation

@mitza-oci
Copy link
Copy Markdown
Member

@mitza-oci mitza-oci commented Apr 21, 2025

Mostly type conversions, const correctness, etc.

Summary by CodeRabbit

  • Refactor

    • Enhanced type safety and clarity by adding explicit casts and updating pointer and parameter types across multiple components.
    • Replaced C-style casts with C++-style casts (const_cast, static_cast) to improve code clarity and safety.
    • Improved const-correctness and pointer type consistency in various template classes and methods.
    • Standardized numeric constant representations for better readability.
    • Updated method and constructor parameter names for consistency and improved readability.
    • Centralized pointer computation logic by replacing macros with inline static member functions.
  • Bug Fixes

    • Corrected variable references and added early returns to ensure proper error handling in forward declaration checks.
  • Style

    • Improved variable naming and formatting for enhanced code readability and maintainability.
  • Documentation

    • Updated parameter names and formatting in method signatures to clarify public interfaces.

Mostly type conversions, const correctness, etc.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 21, 2025

Walkthrough

This set of changes focuses primarily on improving type safety, const-correctness, and code clarity throughout the codebase. Many updates replace C-style casts with explicit C++ casts, adjust pointer and reference constness, and introduce explicit type conversions to avoid implicit or potentially unsafe conversions. Several method signatures are updated to use more semantically meaningful types (such as replacing int with ACE_Reactor_Mask), and internal variable names are clarified for readability. Some macro usages are replaced with inline functions, and compiler-specific warning suppressions are added where necessary. No significant changes to logic or control flow are introduced; the modifications are largely refactorings and modernizations for maintainability and correctness.

Changes

File(s) Change Summary
ACE/ace/ARGV.cpp Added explicit cast to unsigned int in buffer allocation size calculation.
ACE/ace/Acceptor.cpp, ACE/ace/Strategies_T.cpp, ACE/ace/Svc_Handler.cpp Replaced C-style casts with const_cast for returning non-const references from const methods.
ACE/ace/Arg_Shifter.cpp, ACE/ace/Arg_Shifter.h Updated pointer constness and constructor signatures for consistency and clarity; reordered const qualifiers.
ACE/ace/Based_Pointer_T.cpp, ACE/ace/Based_Pointer_T.h, ACE/ace/Based_Pointer_T.inl Replaced macro for pointer computation with static inline member functions; improved const-correctness in pointer arithmetic.
ACE/ace/CDR_Stream.inl Added explicit cast to ACE_CDR::ULong in array write operation.
ACE/ace/Dynamic_Message_Strategy.inl Explicitly cast microseconds argument to suseconds_t in ACE_Time_Value constructors.
ACE/ace/Env_Value_T.h Replaced C-style cast with const_cast in template specialization for pointer conversion.
ACE/ace/Functor.inl Added explicit static_cast<unsigned long> in hash functor returns.
ACE/ace/High_Res_Timer.inl Added explicit cast to ACE_hrtime_t during time value calculation.
ACE/ace/INET_Addr.inl Replaced C-style casts with const_cast for address pointer returns.
ACE/ace/IO_SAP.inl, ACE/ace/IPC_SAP.inl Explicitly cast ioctl command argument to platform-specific type.
ACE/ace/Log_Category.inl, ACE/ace/Log_Msg.inl Added explicit cast to u_long in log priority checks.
ACE/ace/Malloc_T.inl Explicitly cast length argument to size_t in memory pool operations.
ACE/ace/Message_Block.inl, ACE/ace/String_Base.cpp, ACE/ace/SString.inl, TAO/tao/Unbounded_Octet_Sequence_T.h Added explicit static_cast<size_t> or type-specific casts to pointer arithmetic results.
ACE/ace/Message_Queue_T.cpp Replaced truncate_cast with static_cast; added explicit intermediate cast in one method.
ACE/ace/Netlink_Addr.inl Improved type safety with explicit casts and variable renaming in address handling.
ACE/ace/Null_Condition.h Replaced C-style cast with const_cast in constructor initializer list.
ACE/ace/OS_NS_dirent.inl Added const_cast before casting to pointer-to-pointer types for alphasort.
ACE/ace/OS_NS_netdb.inl Added explicit casts for address length and flags in network database calls.
ACE/ace/OS_NS_stdlib.cpp Added explicit cast to size_t for pointer difference in length calculation.
ACE/ace/OS_NS_stdlib.h Changed helper function return type from signed to unsigned 64-bit integer.
ACE/ace/OS_NS_stropts.inl Added explicit casts for buffer lengths and allocation sizes in message handling.
ACE/ace/OS_NS_sys_socket.inl Added explicit casts to socklen_t in socket operations.
ACE/ace/OS_NS_time.inl Added explicit cast to size_t for buffer length; suppressed GCC warning for non-literal format string.
ACE/ace/Priority_Reactor.cpp, ACE/ace/Priority_Reactor.h, ACE/ace/Select_Reactor_T.cpp, ACE/ace/Select_Reactor_T.h Changed mask parameter type from int to ACE_Reactor_Mask in reactor dispatch methods.
ACE/ace/Refcounted_Auto_Ptr.inl Replaced C-style cast with const_cast in copy constructor.
ACE/ace/SOCK_Dgram.inl Used const_cast to remove constness for buffer pointer.
ACE/ace/SPIPE_Stream.inl Updated casts to use const pointer type in send methods.
ACE/ace/Select_Reactor_T.cpp Renamed local variable for clarity; added explicit cast for max handles.
ACE/ace/Select_Reactor_T.inl, ACE/ace/Token.inl Replaced C-style casts with const_cast for passing non-const pointers to constant objects.
ACE/ace/Signal.inl Changed parameter name for clarity in signal handler setter.
ACE/ace/Svc_Conf_Param.h Renamed constructor parameter for clarity.
ACE/ace/Time_Value.inl Added explicit casts to ACE_UINT64 in time value calculations; minor formatting.
ACE/ace/Timer_Heap_T.cpp Added explicit cast to size_t in timer removal.
ACE/ace/Timer_Queue_T.cpp Renamed function parameter for clarity.
ACE/ace/XML_Utils/XMLSchema/id_map.hpp Renamed constructor and iterator variables for clarity.
ACE/ace/config-linux-common.h Added macro definition for ACE_IOCTL_TYPE_ARG2.
TAO/TAO_IDL/ast/ast_interface.cpp Fixed variable usage and added early return in redefinition helper.
TAO/TAO_IDL/driver/drv_preproc.cpp Replaced truncate_cast with static_cast; suppressed GCC warning; updated loop variable types.
TAO/TAO_IDL/include/utl_scope_T.cpp Simplified conditional and commented out code for forward declaration handling.
TAO/tao/MProfile.inl Added explicit cast in return statement for profile index.
TAO/tao/Object_Reference_Traits_T.h, TAO/tao/String_Traits_T.h Added explicit cast to size_t for pointer difference in memory set operations.
TAO/tao/Transport.inl Added explicit cast to CORBA::LongLong in transport statistics returns.
TAO/tao/Transport_Cache_Manager_T.cpp Renamed constructor parameter; updated pointer casts in comparison function.
TAO/tao/Valuetype/ValueBase.h Changed constant values from hex to decimal literals.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant ACE_Component
    participant OS_API

    User->>ACE_Component: Call method (e.g., control, send, find)
    ACE_Component->>ACE_Component: Perform explicit type casting and pointer arithmetic
    ACE_Component->>OS_API: Invoke system call with correct argument types
    OS_API-->>ACE_Component: Return result
    ACE_Component-->>User: Return processed result
Loading

Suggested reviewers

  • jwillemsen
  • iguessthislldo

Poem

In fields of code where rabbits leap,
We cast away the old and deep.
Constness clear and types aligned,
Each pointer now precisely defined.
Macros gone, with functions bright,
The codebase hops to safer light.
🐇✨

— A rabbit, refactoring through the night

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ast-grep (0.31.1)
ACE/ace/Arg_Shifter.cpp

📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 008c8a2 and 5dcc846.

📒 Files selected for processing (5)
  • ACE/ace/Arg_Shifter.cpp (6 hunks)
  • ACE/ace/Based_Pointer_T.h (1 hunks)
  • TAO/TAO_IDL/driver/drv_preproc.cpp (6 hunks)
  • TAO/TAO_IDL/include/utl_scope_T.cpp (1 hunks)
  • TAO/tao/Valuetype/ValueBase.h (1 hunks)
✅ Files skipped from review due to trivial changes (1)
  • ACE/ace/Arg_Shifter.cpp
🚧 Files skipped from review as they are similar to previous changes (4)
  • TAO/TAO_IDL/include/utl_scope_T.cpp
  • TAO/tao/Valuetype/ValueBase.h
  • TAO/TAO_IDL/driver/drv_preproc.cpp
  • ACE/ace/Based_Pointer_T.h
⏰ Context from checks skipped due to timeout of 90000ms (20)
  • GitHub Check: macos-13-C++
  • GitHub Check: ubuntu-24.04 g++-10 CORBA/e micro
  • GitHub Check: ubuntu-24.04 g++-14
  • GitHub Check: ubuntu-24.04 g++-10 CORBA/e compact
  • GitHub Check: ubuntu-24.04 clang++-16
  • GitHub Check: ubuntu-24.04 clang++-14
  • GitHub Check: ubuntu-24.04 g++-10 wchar
  • GitHub Check: VS2022Release64
  • GitHub Check: VS2019Debug64Cxx17
  • GitHub Check: VS2019Debug64Cxx20
  • GitHub Check: VS2022WChar
  • GitHub Check: VS2019Release32
  • GitHub Check: VS2019WChar
  • GitHub Check: VS2022Debug64
  • GitHub Check: VS2019Release64
  • GitHub Check: MINGW64-gcc
  • GitHub Check: VS2019Debug32
  • GitHub Check: VS2019Debug64
  • GitHub Check: windows-2019 vs2019
  • GitHub Check: alpine-3.18

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 7

🧹 Nitpick comments (6)
ACE/ace/config-linux-common.h (1)

221-221: Add documentation for new ioctl type macro. The macro ACE_IOCTL_TYPE_ARG2 defines the type of the second argument for ioctl calls on Linux, but lacks context. Consider adding a brief comment or Doxygen description above this definition to explain its purpose and usage.

TAO/tao/Valuetype/ValueBase.h (1)

363-369: Replace hex flags with decimal constants; consider grouping. Switching from hexadecimal literals to their decimal equivalents improves readability. To further enhance maintainability and type safety, you might refactor these related flag constants into a constexpr enum class within the TAO_OBV_GIOP_Flags namespace.

ACE/ace/Env_Value_T.h (1)

92-92: Approve: Using const_cast improves type safety and code clarity

The replacement of the C-style cast (ACE_TCHAR *) with const_cast<ACE_TCHAR *> makes the intent clearer and follows modern C++ best practices. This change likely addresses compiler warnings about C-style casts while maintaining the same functionality.

For consistency, consider also replacing the C-style cast on line 98 with an equivalent const_cast, though it may not trigger warnings since it's not removing constness.

ACE/ace/Refcounted_Auto_Ptr.inl (1)

92-92: Approve: Improved const-correctness with explicit const_cast

The change replaces a C-style cast with an explicit const_cast, making it clear that constness is being removed intentionally. This follows modern C++ best practices and likely addresses compiler warnings about C-style casts without changing functionality.

For complete consistency, you might also want to update the similar cast on lines 171-172 in the assignment operator to use the same style (though the implementation is already using const_cast there, just with different spacing).

ACE/ace/SPIPE_Stream.inl (2)

59-59: Improved const-correctness in parameter casting

The change from (strbuf *) to (strbuf const *) properly preserves the constness of the cntl and data parameters when casting them for the ACE_OS::putmsg call. This prevents potential accidental modification of const data and better represents the intent of the code.

Consider using C++ style casts like reinterpret_cast<strbuf const *> instead of C-style casts for improved type safety and readability:

-  return ACE_OS::putmsg (this->get_handle (), (strbuf const *) cntl, (strbuf const *) data, flags);
+  return ACE_OS::putmsg (this->get_handle (), reinterpret_cast<strbuf const *>(cntl), 
+                         reinterpret_cast<strbuf const *>(data), flags);

73-73: Improved const-correctness in parameter casting

Similar to the previous change, this modification properly preserves const-correctness when casting the parameters for the ACE_OS::putpmsg call.

Consider using C++ style casts like reinterpret_cast<strbuf const *> instead of C-style casts for improved type safety and readability:

-  return ACE_OS::putpmsg (this->get_handle (), (strbuf const *) cntl, (strbuf const *) data, band, flags);
+  return ACE_OS::putpmsg (this->get_handle (), reinterpret_cast<strbuf const *>(cntl), 
+                          reinterpret_cast<strbuf const *>(data), band, flags);
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 83cb7a9 and 096cbb9.

📒 Files selected for processing (59)
  • ACE/ace/ARGV.cpp (1 hunks)
  • ACE/ace/Acceptor.cpp (1 hunks)
  • ACE/ace/Arg_Shifter.cpp (6 hunks)
  • ACE/ace/Arg_Shifter.h (5 hunks)
  • ACE/ace/Based_Pointer_T.cpp (2 hunks)
  • ACE/ace/Based_Pointer_T.h (1 hunks)
  • ACE/ace/Based_Pointer_T.inl (6 hunks)
  • ACE/ace/CDR_Stream.inl (1 hunks)
  • ACE/ace/Dynamic_Message_Strategy.inl (2 hunks)
  • ACE/ace/Env_Value_T.h (1 hunks)
  • ACE/ace/Functor.inl (1 hunks)
  • ACE/ace/High_Res_Timer.inl (1 hunks)
  • ACE/ace/INET_Addr.inl (1 hunks)
  • ACE/ace/IO_SAP.inl (1 hunks)
  • ACE/ace/IPC_SAP.inl (1 hunks)
  • ACE/ace/Log_Category.inl (1 hunks)
  • ACE/ace/Log_Msg.inl (1 hunks)
  • ACE/ace/Malloc_T.inl (2 hunks)
  • ACE/ace/Message_Block.inl (3 hunks)
  • ACE/ace/Message_Queue_T.cpp (3 hunks)
  • ACE/ace/Netlink_Addr.inl (2 hunks)
  • ACE/ace/Null_Condition.h (1 hunks)
  • ACE/ace/OS_NS_dirent.inl (1 hunks)
  • ACE/ace/OS_NS_netdb.inl (2 hunks)
  • ACE/ace/OS_NS_stdlib.cpp (1 hunks)
  • ACE/ace/OS_NS_stdlib.h (1 hunks)
  • ACE/ace/OS_NS_stropts.inl (1 hunks)
  • ACE/ace/OS_NS_sys_socket.inl (2 hunks)
  • ACE/ace/OS_NS_time.inl (2 hunks)
  • ACE/ace/Priority_Reactor.cpp (1 hunks)
  • ACE/ace/Priority_Reactor.h (1 hunks)
  • ACE/ace/Refcounted_Auto_Ptr.inl (1 hunks)
  • ACE/ace/SOCK_Dgram.inl (1 hunks)
  • ACE/ace/SPIPE_Stream.inl (2 hunks)
  • ACE/ace/SString.inl (2 hunks)
  • ACE/ace/Select_Reactor_T.cpp (4 hunks)
  • ACE/ace/Select_Reactor_T.h (1 hunks)
  • ACE/ace/Select_Reactor_T.inl (1 hunks)
  • ACE/ace/Signal.inl (1 hunks)
  • ACE/ace/Strategies_T.cpp (1 hunks)
  • ACE/ace/String_Base.cpp (2 hunks)
  • ACE/ace/Svc_Conf_Param.h (1 hunks)
  • ACE/ace/Svc_Handler.cpp (1 hunks)
  • ACE/ace/Time_Value.inl (2 hunks)
  • ACE/ace/Timer_Heap_T.cpp (1 hunks)
  • ACE/ace/Timer_Queue_T.cpp (1 hunks)
  • ACE/ace/Token.inl (3 hunks)
  • ACE/ace/XML_Utils/XMLSchema/id_map.hpp (3 hunks)
  • ACE/ace/config-linux-common.h (1 hunks)
  • TAO/TAO_IDL/ast/ast_interface.cpp (2 hunks)
  • TAO/TAO_IDL/driver/drv_preproc.cpp (6 hunks)
  • TAO/TAO_IDL/include/utl_scope_T.cpp (1 hunks)
  • TAO/tao/MProfile.inl (1 hunks)
  • TAO/tao/Object_Reference_Traits_T.h (1 hunks)
  • TAO/tao/String_Traits_T.h (1 hunks)
  • TAO/tao/Transport.inl (2 hunks)
  • TAO/tao/Transport_Cache_Manager_T.cpp (2 hunks)
  • TAO/tao/Unbounded_Octet_Sequence_T.h (1 hunks)
  • TAO/tao/Valuetype/ValueBase.h (1 hunks)
🧰 Additional context used
🧬 Code Graph Analysis (5)
TAO/tao/Object_Reference_Traits_T.h (1)
TAO/tao/String_Traits_T.h (6)
  • begin (29-33)
  • begin (29-30)
  • begin (35-39)
  • begin (35-36)
  • begin (57-61)
  • begin (57-58)
ACE/ace/Based_Pointer_T.cpp (1)
ACE/ace/Based_Pointer_T.h (2)
  • based (134-134)
  • based (135-135)
ACE/ace/Acceptor.cpp (1)
TAO/tests/Bug_2234_Regression/server.cpp (1)
  • const_cast (543-546)
ACE/ace/Arg_Shifter.h (1)
ACE/ace/Arg_Shifter.cpp (9)
  • CHAR_TYPE (15-18)
  • get_the_parameter (101-127)
  • get_the_parameter (102-102)
  • cur_arg_strncasecmp (130-147)
  • cur_arg_strncasecmp (131-131)
  • ACE_Arg_Shifter_T (31-43)
  • ACE_Arg_Shifter_T (77-86)
  • temp_ (21-21)
  • argv_ (22-22)
TAO/tao/String_Traits_T.h (1)
TAO/tao/Object_Reference_Traits_T.h (6)
  • begin (31-35)
  • begin (31-32)
  • begin (37-41)
  • begin (37-38)
  • begin (59-63)
  • begin (59-60)
⏰ Context from checks skipped due to timeout of 90000ms (21)
  • GitHub Check: alpine-3.18
  • GitHub Check: Codacy Static Code Analysis
  • GitHub Check: VS2022Release64
  • GitHub Check: ubuntu-22.04 g++-9
  • GitHub Check: ubuntu-24.04 clang++-16
  • GitHub Check: ubuntu-24.04 g++-12
  • GitHub Check: ubuntu-24.04 g++-11
  • GitHub Check: VS2022WChar
  • GitHub Check: VS2019Release32
  • GitHub Check: VS2019Debug64Cxx17
  • GitHub Check: VS2019Debug64Cxx20
  • GitHub Check: VS2022Debug64
  • GitHub Check: VS2019Release64
  • GitHub Check: VS2019WChar
  • GitHub Check: VS2019Debug32
  • GitHub Check: VS2019Debug64
  • GitHub Check: MINGW64-gcc
  • GitHub Check: windows-2019 vs2019
  • GitHub Check: macos-13-C++
  • GitHub Check: macos-14-C++
  • GitHub Check: ubuntu-24.04 g++
🔇 Additional comments (104)
ACE/ace/Signal.inl (1)

140-143: Explicit cast & clearer parameter naming
Renaming the parameter to handler_arg avoids shadowing the method name, and using ACE_SignalHandlerV(handler_arg) in place of a C‑style cast strengthens type safety and improves readability.

TAO/tao/MProfile.inl (1)

149-149: Validate narrowing conversion on return. Wrapping last_ - 1 in static_cast<int> silences the warning, but if last_ exceeds INT_MAX + 1, this will overflow/truncate the value. Consider adding a runtime check or assertion to ensure the index fits within int before casting.

ACE/ace/Timer_Heap_T.cpp (1)

791-793: Explicitly cast timer_node_slot to size_t for remove(). Converting the signed ssize_t timer_node_slot to size_t via static_cast correctly matches the remove(size_t) signature and prevents compiler warnings. The preceding validation of timer_node_slot >= 0 ensures this cast is safe.

ACE/ace/OS_NS_stdlib.cpp (1)

136-136: Use static_cast for pointer difference. Casting the ptrdiff_t result of start - str to size_t enforces type safety for the length variable and addresses implicit conversion warnings.

TAO/tao/Transport.inl (2)

245-245: Approve: Added explicit type casting improves type safety

The addition of static_cast<CORBA::LongLong> makes the type conversion explicit rather than relying on implicit conversion. This change helps prevent potential issues with type conversions and addresses compiler warnings without changing the functionality.


270-270: Approve: Consistent usage of static_cast for explicit type conversion

Similar to line 245, this change introduces explicit type conversion using static_cast<CORBA::LongLong> to prevent implicit conversion issues. This is a good practice for type safety and helps suppress compiler warnings.

ACE/ace/XML_Utils/XMLSchema/id_map.hpp (3)

58-58: Approve: Improved parameter naming convention

Changing the parameter name from message to a_message disambiguates it from the member variable, making the code clearer and eliminating potential confusion or shadowing issues.


104-105: Approve: Improved iterator naming convention

Renaming from id_iterator to id_iter provides consistency with the naming pattern used throughout the class. This change improves code readability without affecting functionality.

Also applies to: 107-107


121-123: Approve: Consistent iterator naming convention

Renaming variables from idref_iterator and id_iterator to idref_iter and id_iter respectively creates a consistent naming convention across the file. This change improves code readability and maintainability without altering behavior.

Also applies to: 126-127, 131-132, 136-136

ACE/ace/Dynamic_Message_Strategy.inl (2)

47-47: Improved type safety with explicit cast

The explicit static_cast<suseconds_t> ensures proper type conversion when initializing the ACE_Time_Value object, avoiding potential compiler warnings or implicit conversion issues.


67-68: Improved type safety with explicit casts

The explicit static_cast<suseconds_t> operations ensure proper type conversion when initializing max_late_ and min_pending_ ACE_Time_Value objects. This change improves type safety and avoids potential compiler warnings about implicit conversions.

ACE/ace/Message_Queue_T.cpp (3)

1288-1288: Replaced truncate_cast with static_cast

Changed ACE_Utils::truncate_cast<int> to static_cast<int> for converting this->cur_count_ to an integer return value. This simplifies the code while maintaining the intended type conversion.


1403-1403: Replaced truncate_cast with static_cast

Changed ACE_Utils::truncate_cast<int> to static_cast<int> for converting this->cur_count_ to an integer return value. This simplifies the code while maintaining the intended type conversion.


1743-1743: Added explicit intermediate cast to ssize_t

Improved the type conversion process by adding an explicit intermediate cast to ssize_t before truncating to int. This ensures proper handling of the sign during conversion.

ACE/ace/Time_Value.inl (3)

153-153: Improved type safety with explicit cast

Added static_cast<ACE_UINT64> when converting this->tv_.tv_usec to ensure proper type conversion before adding to the milliseconds calculation. This prevents potential implicit conversion issues.


219-219: Formatting improvement - removed unnecessary space

Removed the space after the reference symbol in the parameter declaration ACE_UINT64 &usec. This improves code consistency and follows the project's style conventions.


224-224: Improved type safety with explicit cast

Added static_cast<ACE_UINT64> when converting this->tv_.tv_usec to ensure proper type conversion before adding to the microseconds calculation. This prevents potential implicit conversion issues.

TAO/TAO_IDL/include/utl_scope_T.cpp (2)

96-96: Improved code style with cleaner conditional check.

Changed from the Yoda condition if (0 != fd) to the more idiomatic C++ style if (fd). Both are functionally identical, but the new version improves readability.


102-105:

Details

✅ Verification successful

Disabling forward declaration flag logic.

This commented-out code would have set the forward declaration flag on the full interface declaration when a predefined declaration existed. By commenting it out, this behavior is now disabled.


🏁 Script executed:

#!/bin/bash
# Search for references to has_fwd_decl() to understand potential impact
rg "has_fwd_decl\(" -A 3 -B 3 --type cpp --type h

Length of output: 51


To ensure there are truly no remaining references or definitions of has_fwd_decl, let’s broaden the search:


🏁 Script executed:

#!/bin/bash
# Search for any definitions or calls of has_fwd_decl
rg "has_fwd_decl" -n
# Search for any remaining mentions of forward-declaration flags
rg "fwd_decl" -n

Length of output: 4314


🏁 Script executed:

#!/bin/bash
# Display context around the commented-out code to inspect surrounding logic
sed -n '80,120p' TAO/TAO_IDL/include/utl_scope_T.cpp

Length of output: 1077


Safe to remove unused has_fwd_decl logic

A project‑wide search confirms there are no remaining calls or checks against has_fwd_decl(...). Disabling this flag has no downstream impact. You may also remove the commented block outright to clean up dead code.

TAO/tao/Transport_Cache_Manager_T.cpp (3)

28-29: Renamed constructor parameter for clarity.

Changed parameter name from purging_strategy to purging, which is more concise.


33-34: Updated member initializer to match renamed parameter.

Correctly updated the initializer list to use the renamed parameter.


544-545: Improved type safety with explicit const_cast.

Replaced C-style cast with a more explicit const_cast<void *> before casting to the target type. This improves code clarity by making the removal of constness explicit.

-    const HASH_MAP_ENTRY** left  = (const HASH_MAP_ENTRY**) a;
-    const HASH_MAP_ENTRY** right = (const HASH_MAP_ENTRY**) b;
+    const HASH_MAP_ENTRY** left  = (const HASH_MAP_ENTRY**) const_cast<void *> (a);
+    const HASH_MAP_ENTRY** right = (const HASH_MAP_ENTRY**) const_cast<void *> (b);
ACE/ace/Log_Msg.inl (1)

22-22: Enhanced type safety with explicit cast.

Added static_cast<u_long> to explicitly convert the log_priority parameter before using it in the ACE_BIT_ENABLED macro. This improves type safety and prevents potential compiler warnings from implicit conversions.

ACE/ace/Null_Condition.h (2)

42-42: Improved type safety with explicit const_cast.

Replaced C-style cast with const_cast<ACE_Null_Mutex &> to explicitly show the intent of removing constness from the mutex parameter. This is a modern C++ practice that enhances code clarity and safety.


48-48: Improved type safety with explicit const_cast.

Replaced C-style cast with const_cast<ACE_Null_Mutex &> in the second constructor, consistent with the change in the first constructor. This maintains a consistent coding style throughout the class.

ACE/ace/IO_SAP.inl (1)

36-36: Good improvement for type safety

The explicit cast to ACE_IOCTL_TYPE_ARG2 ensures the cmd parameter has the expected type for the platform-specific ioctl command argument, eliminating potential compiler warnings about implicit type conversions.

TAO/tao/Unbounded_Octet_Sequence_T.h (1)

110-111: Appropriate use of explicit casting for pointer arithmetic

The addition of explicit casts to size_t for the pointer difference calculations improves type safety. This ensures the read and write position offsets have the correct type when used for memory operations, preventing potential implicit conversion warnings.

ACE/ace/Log_Category.inl (1)

55-55: Correct explicit type cast for bitwise operation

The explicit cast of log_priority to u_long improves type safety when used with the ACE_BIT_ENABLED macro. This ensures the bitwise operation receives the expected type, avoiding potential compiler warnings.

ACE/ace/ARGV.cpp (1)

352-352: Proper type conversion for buffer allocation size

The explicit cast of this->argc_ to unsigned int before adding it to this->length_ for buffer allocation size calculation improves type safety. This prevents potential sign mismatch warnings and ensures consistent unsigned arithmetic for memory allocation sizes.

ACE/ace/Functor.inl (3)

48-48: Added explicit cast for improved type safety

Added an explicit static_cast<unsigned long> where previously there was an implicit conversion. This makes the conversion intent clear and prevents potential compiler warnings.


55-55: Added explicit cast for improved type safety

Added an explicit static_cast<unsigned long> where previously there was an implicit conversion. This ensures type safety and matches the pattern used in other specializations of the same template.


62-62: Added explicit cast for improved type safety

Added an explicit static_cast<unsigned long> where previously there was an implicit conversion. This improves code consistency and helps prevent potential issues with implicit type conversions.

ACE/ace/SOCK_Dgram.inl (1)

128-128: Enhanced type safety with explicit const_cast

The change properly uses const_cast<void *> to explicitly remove constness from the buf parameter before casting to char *. This makes the intent clearer than the previous implicit C-style cast and follows modern C++ best practices for type safety.

ACE/ace/High_Res_Timer.inl (1)

29-29: Improved type safety with explicit static_cast

Adding the explicit static_cast<ACE_hrtime_t> ensures proper type conversion from the return value of tv.sec() to the required ACE_hrtime_t type for subsequent calculations. This prevents potential issues from implicit type conversions.

ACE/ace/CDR_Stream.inl (1)

333-333: Added explicit type conversion for parameter correctness

The added static_cast<ACE_CDR::ULong> ensures that the integer n (declared on line 331) is properly converted to the expected type for the write_array function. This explicit cast eliminates potential issues with implicit type conversion and clarifies the intended type usage.

ACE/ace/Acceptor.cpp (1)

36-36: Improved const-correctness with explicit const_cast

The change properly uses const_cast<PEER_ACCEPTOR &> to explicitly remove constness from this->peer_acceptor_ when returning a non-const reference from a const method. This makes the intent clearer than the previous C-style cast and follows modern C++ best practices for handling constness.

ACE/ace/Select_Reactor_T.inl (1)

191-191: Improved constness removal with const_cast

The C-style cast has been replaced with an explicit const_cast, which better communicates the intent of removing constness from ACE_Time_Value::zero. This is a good modernization that makes the code more maintainable and safer.

TAO/tao/String_Traits_T.h (1)

32-32: Improved type safety with explicit size_t cast

Adding static_cast<size_t> to the pointer difference before multiplying by sizeof(char_type*) ensures type correctness when calling ACE_OS::memset. This avoids potential issues with implicit conversions between signed ptrdiff_t (result of pointer subtraction) and unsigned size_t (expected by memory functions).

The change is consistent with similar code in Object_Reference_Traits_T.h, improving codebase uniformity.

ACE/ace/INET_Addr.inl (1)

53-53: Improved pointer constness handling with const_cast

Replacing C-style casts with explicit const_cast operations in the ip_addr_pointer() method improves code clarity by making the intention to remove constness explicit. This change makes the code more maintainable and aligns with modern C++ best practices for const-correctness.

Also applies to: 55-55, 57-57

ACE/ace/Based_Pointer_T.h (1)

134-135: Added static helper methods for pointer resolution

These new static based methods centralize pointer computation logic that was previously handled by a macro. This is a good refactoring that:

  1. Improves type safety through compile-time checking
  2. Makes the code more maintainable by replacing preprocessor macros with proper C++ functions
  3. Centralizes the pointer conversion logic in one place

The overloaded versions appropriately handle both const and non-const cases.

ACE/ace/OS_NS_time.inl (2)

31-31: Improved type safety with explicit cast

The addition of static_cast<size_t> for the buflen parameter ensures proper type conversion when calling ACE_OS::strsncpy, making the code more type-safe by avoiding implicit conversion from int to size_t.


407-414: Well-scoped GCC diagnostic pragma for suppressing format warnings

Good implementation of compiler-specific diagnostic controls to silence the format-nonliteral warning only for the strftime call. The approach properly:

  1. Pushes the current diagnostic state
  2. Disables only the specific warning
  3. Calls the function that would trigger the warning
  4. Pops the diagnostic state to restore previous warning settings

This maintains warning checks elsewhere in the code while addressing specific cases where the warning isn't applicable.

ACE/ace/String_Base.cpp (2)

434-434: Improved type safety with explicit cast for pointer difference

The addition of static_cast<ACE_String_Base<ACE_CHAR_T>::size_type> improves type safety by explicitly converting the pointer difference (which is of type ptrdiff_t, a signed type) to the method's return type. This eliminates potential issues with implicit conversions, particularly in edge cases where signedness might matter.


447-447: Improved type safety with explicit cast for pointer difference

Similar to the previous change, this explicit cast ensures the pointer arithmetic result is properly converted to the expected return type, improving type safety and making the conversion intention clear.

ACE/ace/SString.inl (2)

163-163: Improved type safety with explicit cast for pointer difference

The addition of static_cast<ACE_SString::size_type> for the pointer difference calculation ensures proper type conversion from ptrdiff_t to the method's return type, avoiding potential issues with implicit conversion between signed and unsigned types.


174-174: Improved type safety with explicit cast for pointer difference

Similar to the previous change, this explicit cast ensures the pointer arithmetic result is properly converted to the expected return type, improving type safety and making the conversion intention clear.

ACE/ace/OS_NS_dirent.inl (1)

115-116: Improved type safety with explicit const_cast

The change replaces a direct C-style cast with a two-step explicit casting process. This improves code clarity by making the constness removal explicit with const_cast<void*> before applying the C-style cast to the target type.

ACE/ace/OS_NS_netdb.inl (2)

112-113: Improved type safety with static_cast

Replacing the C-style cast with static_cast<socklen_t> makes the type conversion more explicit and safer, which helps prevent unintended conversions while ensuring the socket length parameter has the correct type.


753-753: Added explicit static_cast for flags parameter

The flags parameter is now explicitly cast to int using static_cast, making the conversion clear and preventing potential issues with implicit conversions from unsigned to signed types.

ACE/ace/OS_NS_stdlib.h (1)

68-68: Corrected return type for unsigned 64-bit integer function

The return type for ace_strtoull_helper has been correctly changed from ACE_INT64 (signed) to ACE_UINT64 (unsigned), properly matching the unsigned return type of the underlying strtoull function. This prevents potential issues with sign conversions for large values.

ACE/ace/Based_Pointer_T.cpp (2)

33-33: Replaced macro with static member function

The debug output now uses the newly introduced based(this) static member function instead of the ACE_COMPUTE_BASED_POINTER macro. This improves code maintainability and readability by encapsulating the pointer computation logic in a type-safe function.


74-74: Improved const-correctness in pointer arithmetic

The pointer arithmetic now uses const char* casts for both pointers, maintaining const-correctness throughout the calculation. This change better respects the constness of the input parameters without affecting the calculation result.

ACE/ace/OS_NS_sys_socket.inl (2)

707-707: Improved type safety with explicit cast to socklen_t

Adding the explicit static_cast<socklen_t> for the addrlen parameter ensures proper type conversion when calling the system's sendto() function, preventing potential compiler warnings about implicit conversions.


921-921: Improved type safety with explicit cast to socklen_t

Adding the explicit static_cast<socklen_t> for the optlen parameter provides proper type conversion when calling setsockopt(), aligning with POSIX standards which expect socklen_t for length parameters in socket operations.

ACE/ace/IPC_SAP.inl (1)

34-34: Improved type safety with explicit cast to ACE_IOCTL_TYPE_ARG2

The addition of static_cast<ACE_IOCTL_TYPE_ARG2> ensures the cmd parameter is properly converted to the expected platform-specific type for ioctl commands. This explicit casting prevents potential implicit conversion issues and improves code clarity by making the intended type conversion obvious.

ACE/ace/Message_Block.inl (3)

310-310: Improved type safety in pointer arithmetic with explicit cast to size_t

Adding static_cast<size_t> for the pointer difference calculation improves type safety by explicitly converting from ptrdiff_t (signed) to size_t (unsigned) for the wr_ptr_ member. This prevents potential issues with signed/unsigned conversions.


348-348: Improved type safety in pointer arithmetic with explicit cast to size_t

Adding static_cast<size_t> for the pointer difference calculation improves type safety by explicitly converting from ptrdiff_t (signed) to size_t (unsigned) for the rd_ptr_ member. This prevents potential issues with signed/unsigned conversions.


384-384: Improved type safety in pointer arithmetic with explicit cast to size_t

Adding static_cast<size_t> for the pointer difference calculation in the space() method ensures type safety by explicitly converting from ptrdiff_t (signed) to size_t (unsigned) for the return value. This prevents potential issues with signed/unsigned conversions.

ACE/ace/OS_NS_stropts.inl (4)

160-161: Improved type safety with explicit cast to size_t

Adding static_cast<size_t> to convert ctl->len before passing to ACE_OS::write ensures proper type conversion for the length parameter, preventing potential compiler warnings about implicit conversions.


165-166: Improved type safety with explicit cast to size_t

Adding static_cast<size_t> to convert data->len before passing to ACE_OS::write ensures proper type conversion for the length parameter, preventing potential compiler warnings about implicit conversions.


172-172: Improved safety in buffer size calculation

The use of explicit casts to unsigned int before addition and storing in an intermediate alloc variable improves type safety. Using the auto keyword with explicit initialization type also helps ensure the compiler uses the correct type.


174-180: Improved type safety in memory allocation and operations

Multiple improvements in this block:

  1. Using static_cast<char*> in line 174 for memory allocation
  2. Using explicit casts to size_t for memory operations in lines 178-179
  3. Using the precomputed alloc variable for write operation in line 180

These changes ensure proper type handling throughout the memory allocation, copying, and writing operations.

ACE/ace/Malloc_T.inl (2)

93-93: Improved type safety with explicit cast to size_t

The addition of static_cast<size_t> makes the type conversion from ssize_t to size_t explicit, avoiding potential compiler warnings about signed-to-unsigned conversions and improving type safety.


110-110: Improved type safety with explicit cast to size_t

Similar to the previous change, the explicit static_cast<size_t> improves type safety when converting from signed ssize_t to unsigned size_t, eliminating potential compiler warnings about implicit conversions.

ACE/ace/Token.inl (3)

36-36: Enhanced type safety by replacing C-style cast with explicit const_cast

The change from a C-style cast to an explicit const_cast provides better clarity about the intent to remove constness from ACE_Time_Value::zero. This is more type-safe and makes the code more maintainable.


79-79: Enhanced type safety by replacing C-style cast with explicit const_cast

Similar to the previous change, this replaces a C-style cast with a more explicit const_cast when removing constness from ACE_Time_Value::zero, improving code clarity and type safety.


96-96: Enhanced type safety by replacing C-style cast with explicit const_cast

The third instance of replacing a C-style cast with an explicit const_cast when handling ACE_Time_Value::zero, maintaining consistency throughout the code and improving type safety.

ACE/ace/Svc_Handler.cpp (1)

248-248: Improved code clarity with explicit const_cast

The change from a C-style cast to an explicit const_cast for removing constness from this->peer_ enhances code readability and type safety. This makes the intention clearer and aligns with modern C++ best practices.

ACE/ace/Priority_Reactor.cpp (1)

123-123: Improved type safety with more specific parameter type

Changing the mask parameter type from generic int to specific ACE_Reactor_Mask enhances type safety and self-documentation. This provides better compile-time checking and makes the code more maintainable by clearly indicating the parameter's intended purpose.

ACE/ace/Priority_Reactor.h (1)

64-64: Improved type safety with ACE_Reactor_Mask.

Changing the parameter type from int to ACE_Reactor_Mask enhances type safety by using a more specific and semantically meaningful type instead of a generic integer.

ACE/ace/Svc_Conf_Param.h (1)

65-71: Improved parameter naming for clarity.

Renaming the parameter from config to gestalt better aligns with its type ACE_Service_Gestalt*, making the code more self-documenting. The corresponding member initializer was correctly updated to use the new parameter name.

Also applies to: 77-83

ACE/ace/Select_Reactor_T.h (1)

655-655: Improved type safety with ACE_Reactor_Mask.

Changing the parameter type from int to ACE_Reactor_Mask enhances type safety by using a more specific and semantically meaningful type instead of a generic integer. This change is consistent with similar updates in related reactor classes (e.g., ACE_Priority_Reactor).

ACE/ace/Netlink_Addr.inl (3)

14-15: Improved type safety with explicit casts.

Adding explicit static_cast<unsigned int> conversions clarifies the intention to convert signed integers to unsigned and prevents potential compiler warnings about signed-to-unsigned conversions.


31-31: Improved clarity with const_cast.

Replacing an implicit C-style cast with an explicit const_cast makes the code's intent clearer and follows modern C++ best practices for const-correctness.


40-40: Improved type safety with explicit size_t cast.

Adding an explicit static_cast<size_t> for the length parameter clarifies the intent and prevents potential compiler warnings about implicit conversions to size_t in memory operations.

TAO/TAO_IDL/driver/drv_preproc.cpp (6)

223-233: Good addition of warning suppression scope.

The changes add GCC-specific warning suppression only for the necessary code, properly isolating the -Wformat-nonliteral warning suppression to just the ACE_OS::sprintf call that uses a non-literal format string. The warning suppression is neatly wrapped in push/pop pragmas to limit its scope.


256-257: Improved type safety with explicit cast.

Adding static_cast<int> for the buffer size argument improves type safety by making the integer conversion explicit, preventing potential truncation issues.


299-301: Improved type safety with explicit cast.

Adding static_cast<int> for the buffer size calculation improves type safety by making the integer conversion explicit, ensuring the correct size is passed to ACE_OS::fgets.


414-415: Better type safety for loop index.

Changing the loop indexing to use static_cast<size_t> explicitly converts the platform argument count to the appropriate type for array indexing, making the code more type-safe.


423-424: Improved type safety for index assignment.

Adding static_cast<long> properly converts DRV_argcount to the expected type of output_arg_index, making the type conversion explicit and preventing potential issues.


891-892: Safer pointer arithmetic with explicit cast.

Using static_cast<size_t> for the pointer difference calculation ensures that the result is properly typed, preventing potential issues when comparing or using this value.

ACE/ace/Based_Pointer_T.inl (6)

6-16: Good refactoring of pointer calculation logic.

The addition of two typed based functions centralizes the pointer arithmetic that was likely previously handled by a macro. This improves type safety, better handles const-correctness, and makes the code more maintainable.


22-23: Improved pointer handling using new function.

Replacing direct pointer arithmetic with the new based function improves code clarity and maintainability.


53-54: Improved pointer handling using new function.

Replacing direct pointer arithmetic with the new based function improves code clarity and maintainability.


64-65: Improved const-correctness with explicit casting.

Using const_cast with the new based function more clearly expresses the intent to remove constness while leveraging the centralized pointer calculation logic.


78-80: Improved pointer handling using new function.

Replacing direct pointer arithmetic with the new based function improves code clarity and maintainability.


92-94: Consistent use of based function for comparison operators.

All comparison operators now use the based function for pointer calculations, ensuring consistent behavior and simplifying maintenance.

Also applies to: 106-108, 113-115, 120-122, 127-129

ACE/ace/Select_Reactor_T.cpp (4)

509-514: Improved type safety with explicit cast.

Adding static_cast<size_t> for the return value of ACE::max_handles() ensures the correct type is passed to the open function, preventing potential type conversion issues.


1051-1054: Fixed variable naming to avoid collision with system type.

Renaming the local variable from fd_set to fds avoids confusion with the system type of the same name, which could lead to subtle bugs or maintenance issues.


1189-1194: Better type safety using domain-specific type.

Changing the mask parameter type from int to ACE_Reactor_Mask improves type safety by using the semantically correct type for the event mask.


1214-1215: Improved type consistency.

Adding static_cast<ACE_Reactor_Mask> ensures consistent typing when calling clear_dispatch_mask, aligning with the parameter type change above.

ACE/ace/Arg_Shifter.cpp (6)

16-18: Improved const-correctness in parameter types.

Changing from const CHAR_TYPE ** to CHAR_TYPE const ** maintains consistent const qualifier positioning throughout the codebase. This is a style improvement that doesn't change behavior but improves readability.


31-38: Improved const-correctness in parameter types and initialization.

Updating parameter types and member initializations to use consistent const qualifier positioning improves code readability and maintainability.


52-57: Improved pointer type consistency in allocation.

Using CHAR_TYPE ** directly instead of casting from const CHAR_TYPE ** ensures proper type consistency, especially for memory allocation.


89-96: Consistent const qualifier positioning in return type and variable declarations.

Changing from const CHAR_TYPE * to CHAR_TYPE const * maintains consistent const qualifier positioning throughout the codebase, improving readability.


101-103: Consistent const qualifier positioning in method signature.

Using CHAR_TYPE const * rather than const CHAR_TYPE * maintains consistent const qualifier positioning throughout the codebase, improving readability.


131-138: Consistent const qualifier positioning in parameter type and variable declarations.

Changing from const CHAR_TYPE * to CHAR_TYPE const * maintains consistent const qualifier positioning throughout the codebase, improving readability.

ACE/ace/Arg_Shifter.h (7)

78-79: Consistent const-pointer qualification in constructor parameters
The constructor signature now uniformly uses CHAR_TYPE const ** for both argv and temp, improving style consistency without altering semantics.


125-125: Unified pointer const-qualification style in get_the_parameter
The method signature now uses CHAR_TYPE const * for both the return type and the flag parameter, aligning with the project's const-correctness conventions.


164-164: Aligned const qualification in cur_arg_strncasecmp
The parameter type CHAR_TYPE const *flag follows the same style, enhancing readability and consistency.


190-190: Style normalization for deleted copy constructor
Swapped to ACE_Arg_Shifter_T const & for the deleted copy ctor, matching the const-placement convention used elsewhere.


193-193: Style normalization for deleted assignment operator
The assignment operator deletion now uses ACE_Arg_Shifter_T const & for consistency with the copy constructor.


205-205: Updated temp_ member pointer type for consistency
Changed the temporary array member to CHAR_TYPE **temp_, matching the constructor overload and simplifying ownership semantics.


208-208: Updated argv_ member pointer type for consistency
The argument array member now uses CHAR_TYPE **argv_, consistent with non‑const operations and constructor signatures.

Comment thread TAO/TAO_IDL/ast/ast_interface.cpp
Comment thread TAO/TAO_IDL/ast/ast_interface.cpp
Comment thread TAO/TAO_IDL/ast/ast_interface.cpp
Comment thread TAO/TAO_IDL/ast/ast_interface.cpp
Comment thread TAO/tao/Object_Reference_Traits_T.h
Comment thread ACE/ace/Timer_Queue_T.cpp
Comment thread ACE/ace/Strategies_T.cpp
Comment thread ACE/ace/Based_Pointer_T.h
Comment thread TAO/TAO_IDL/include/utl_scope_T.cpp Outdated
Comment thread TAO/tao/Valuetype/ValueBase.h
@mitza-oci mitza-oci merged commit 5ba4a19 into DOCGroup:master Apr 23, 2025
47 of 49 checks passed
@mitza-oci mitza-oci deleted the warnings branch April 23, 2025 13:21
mitza-oci added a commit to mitza-oci/ACE_TAO that referenced this pull request Apr 29, 2025
Fixed warnings

(cherry picked from commit 5ba4a19)

# Conflicts:
#	ACE/ace/Arg_Shifter.cpp
#	ACE/ace/Arg_Shifter.h
#	ACE/ace/Based_Pointer_T.inl
#	ACE/ace/Netlink_Addr.inl
#	ACE/ace/OS_NS_stdlib.cpp
#	ACE/ace/OS_NS_time.inl
#	ACE/ace/Signal.inl
#	ACE/ace/Timer_Queue_T.cpp
#	ACE/ace/XML_Utils/XMLSchema/id_map.hpp
#	TAO/TAO_IDL/driver/drv_preproc.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants