Skip to content

Conversation

@masaori335
Copy link
Contributor

  • Remove Inline.cc
  • Remove TS_INLINE from UnixNetVConnection.cc
  • Ran below command to replace TS_INLINE
LC_ALL=C find . -name "*.h" -exec sed -i '' s/TS_INLINE/inline/g {} +

@masaori335 masaori335 added this to the 10.0.0 milestone Sep 17, 2019
@masaori335 masaori335 self-assigned this Sep 17, 2019
@SolidWallOfCode
Copy link
Member

Looks like you're missing a #include in the IOBuffer unit tests.

@masaori335
Copy link
Contributor Author

masaori335 commented Sep 19, 2019

Right. It looks like removing Include.cc made the requirement.
I made similar changes for below unit tests.

        modified:   iocore/eventsystem/unit_tests/test_IOBuffer.cc
        modified:   iocore/eventsystem/unit_tests/test_MIOBufferWriter.cc
        modified:   iocore/net/test_I_UDPNet.cc

Also, it requires to filp order of librecords_p.a and libinkevent.a in *_LDADD.

- Remove Inline.cc files
- Remove TS_INLINE from source file
  - iocore/net/UnixNetVConnection.cc
- Ran below command to replace TS_INLINE
  ```
  LC_ALL=C find . -name "*.h" -exec sed -i '' s/TS_INLINE/inline/g {} +
  ```
- Include missing header files in unit tests because of removing Inline.cc files
  - iocore/eventsystem/unit_tests/test_IOBuffer.cc
  - iocore/eventsystem/unit_tests/test_MIOBufferWriter.cc
  - iocore/net/test_I_UDPNet.cc
- Flip order of librecords_p.a and libinkevent.a in *_LDADD
@masaori335
Copy link
Contributor Author

masaori335 commented Sep 19, 2019

Mark WIP until complete PR builders & test with enabling QUIC on Linux.

@masaori335
Copy link
Contributor Author

I realized the trick of TS_INLINE. If the header file is included by Inline.cc, the inline specifier will be removed by defining TS_INLINE as nothing. This is why some builds are failed.

@bryancall
Copy link
Contributor

[approve ci]

@masaori335
Copy link
Contributor Author

I'll rework if I get some ideas.

@masaori335 masaori335 closed this Apr 12, 2020
@zwoop zwoop removed this from the 10.0.0 milestone May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants