Git Product home page Git Product logo

wtl-rs's People

Contributors

varding avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

sp-stefan-cosma

wtl-rs's Issues

compilation error: duplicate definition of item

Hi, I wanted to use wtl-rs in designing of a new app, but attempt to compile wtl-rs resulted in errors:
error[E0592]: duplicate definitions with name item
--> pkg\winapi\src\macros.rs:148:13
|
148 | pub unsafe fn $variant(&self) -> &$fieldtype {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| duplicate definitions for item
| other definition for item
|
::: pkg\winapi\src\commctrl.rs:2496:1
|
2496 | UNION!(TVINSERTSTRUCTA, itemex, item, item_mut, TV_ITEMA);
| ---------------------------------------------------------- in this macro invocation
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0592]: duplicate definitions with name item_mut
--> pkg\winapi\src\macros.rs:152:13
|
152 | pub unsafe fn $variantmut(&mut self) -> &mut $fieldtype {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| duplicate definitions for item_mut
| other definition for item_mut
|
::: pkg\winapi\src\commctrl.rs:2496:1
|
2496 | UNION!(TVINSERTSTRUCTA, itemex, item, item_mut, TV_ITEMA);
| ---------------------------------------------------------- in this macro invocation
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

What would be the right approach to fix the errors?

Thanks from Arizona!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.