Skip to content
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

Native backend error in vlib/time/time_nix.c #23395

Open
mike-ward opened this issue Jan 6, 2025 · 1 comment
Open

Native backend error in vlib/time/time_nix.c #23395

mike-ward opened this issue Jan 6, 2025 · 1 comment
Labels
Bug This tag is applied to issues which reports bugs.

Comments

@mike-ward
Copy link
Contributor

mike-ward commented Jan 6, 2025

Describe the bug

v -prod -backend native lsv -o bin/lsv
/Users/mike/Documents/github/v/vlib/time/time_nix.c.v:6:1: error: `-D` and `-I` flags are not supported with the native backend
    4 | module time
    5 |
    6 | #flag darwin -I@VEXEROOT/thirdparty/legacy/include/LegacySupport
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    7 | #include <time.h>
    8 | #include <errno.h>```

### Reproduction Steps

.

### Expected Behavior

.

### Current Behavior

.

### Possible Solution

_No response_

### Additional Information/Context

_No response_

### V version

V 0.4.9 0c9d076

### Environment details (OS name and version, etc.)

|V full version      |V 0.4.9 da3112e.0c9d076
|:-------------------|:-------------------
|OS                  |macos, macOS, 15.1.1, 24B91
|Processor           |8 cpus, 64bit, little endian, Apple M2
|Memory              |0.15GB/8GB
|                    |
|V executable        |/Users/mike/Documents/github/v/v
|V last modified time|2025-01-06 22:31:47
|                    |
|V home dir          |OK, value: /Users/mike/Documents/github/v
|VMODULES            |OK, value: /Users/mike/.vmodules
|VTMP                |OK, value: /tmp/v_501
|Current working dir |OK, value: /Users/mike/Documents/github/lsv
|                    |
|Git version         |git version 2.47.1
|V git status        |0.4.9-109-g0c9d0762
|.git/config present |true
|                    |
|cc version          |Apple clang version 16.0.0 (clang-1600.0.26.6)
|gcc version         |Apple clang version 16.0.0 (clang-1600.0.26.6)
|clang version       |Apple clang version 16.0.0 (clang-1600.0.26.6)
|tcc version         |tcc version 0.9.28rc 2024-02-05 HEAD@105d70f7 (AArch64 Darwin)
|tcc git status      |thirdparty-macos-arm64 713692d4
|emcc version        |N/A
|glibc version       |N/A

> [!NOTE]
> You can use the 👍 reaction to increase the issue's priority for developers.
>
> Please note that only the 👍 reaction to the issue itself counts as a vote.
> Other reactions and those to comments will not be taken into account.
@mike-ward mike-ward added the Bug This tag is applied to issues which reports bugs. label Jan 6, 2025
@JalonSolov
Copy link
Contributor

Yeah... unfortunately, the native backend is very WIP, with a lot of stuff simply not implemented, yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This tag is applied to issues which reports bugs.
Projects
None yet
Development

No branches or pull requests

2 participants